Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

NestJs Course for Beginners - Create a REST API

via freeCodeCamp

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

Reviews

5.0 rating, based on 3 Class Central reviews

Start your review of NestJs Course for Beginners - Create a REST API

  • I recently completed the NestJS course for beginners, focused on building a REST API, and I must say it was an enlightening experience. The course covers essential aspects of NestJS, and I particularly enjoyed the sections on authentication, user an…
  • Mohammed Ahmed Ramadan
    Tis course is very good course I lean many thing here I hope to see more courses like this have a nice day thank you
  • Duaa Imran
    nice website i am very happy to learn the nestjs. i can inderstand easily one by one. thankuu so much

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.