YoVDO

NestJs Course for Beginners - Create a REST API

Offered By: freeCodeCamp

Tags

NestJS Courses Web Development Courses Docker Courses PostgreSQL Courses CRUD Operations Courses Prisma Courses

Course Description

Overview

Build a CRUD REST API with end-to-end tests using NestJs, a rapidly growing Node.js framework for scalable and maintainable backend applications. Dive into modern web development techniques as you create a bookmarks API from scratch, incorporating Docker, PostgreSQL, Passport.js, Prisma, Pactum, and dotenv. Explore essential concepts such as modules, dependency injection, controllers, and authentication. Learn to set up a development environment, implement user sign-up and sign-in logic, and utilize NestJs pipes and guards. Gain hands-on experience with database management, including migrations and teardown logic. Master e2e testing with PactumJs and automate database processes. By the end of this comprehensive tutorial, you'll have a solid foundation in NestJs and be equipped to build robust, scalable backend applications.

Syllabus

) Course introduction.
) What is NestJs.
) Why using NestJs.
) What we are building.
) NestJs project setup.
) Modules.
) Auth module.
) Dependency injection.
) Auth controller.
) Setting up postgres in docker.
) Setting up prisma.
) User & bookmark models.
) Running prisma migrations.
) Prisma module.
) Using auth dtos.
) NestJs pipes.
) NestJs global pipe.
) Hashing user password with argon.
) Sign up logic.
) Sign in logic.
) Automate postgres restart & prisma migrations.
) NestJs config module.
) Using passport js & jwt module with nestJs.
) Get current user with access token.
) NestJs Guards.
) NestJs custom param decorator.
) e2e tests with pactumJs.
) Setting up test database.
) Automate test database restart & migrations.
) Using dotenv cli with prisma.
) Prisma database teardown logic.
) Auth e2e tests.
) User e2e tests.
) Bookmarks e2e test.


Taught by

freeCodeCamp.org

Related Courses

Introduction to Databases
Meta via Coursera
MongoDB for Node.js Developers
MongoDB University
Full Stack Foundations
Udacity
Ruby on Rails Web Services and Integration with MongoDB
Johns Hopkins University via Coursera
MongoDB Basics
MongoDB University