NestJS - Building Real Project API From Scratch

By Oleksandr Kocherhin, Web developer with 12 years of experience

Language: English

This course is for you

In this course we will build a Medium clone API using NestJS, Typescript, Typeorm and PostgreSQL. This course is fully focused on fast and deep dive into creation of API for real application with NestJS. We will start from scratch and step by step you will get close to finished real application. You will deeply understand how to structure your application, build reusable and understandable modules and services and split code into smaller chunks of code. We will write code together in efficient way to make it pure and avoid data complexity. For each lesson you'll get source code of the lesson, so it's easy to see the progress and get a working app on any lesson you want. What you will learn in this course: 1. Structure and configure project 2. Write high quality code with NestJS on real project 3. Create reusable modules, controllers and services 4. Implementing authentication 5. Deeply understand NestJS design patterns No prior knowledge except of Javascript is needed (because I will teach you everything from basics) but if you have experience with any of this  (Angular/NodeJS/Express/Typescript/Typeorm/PostgreSQL) it will be easier for you to go through this course. If you are feeling like you learned NodeJS but you still still missing knowledge of how to build your own real application this course is what you need. This course is fully focused on creating the application without getting deep into basic knowledge of NodeJS!

Course overview - 39

  • Intro

  • What technologies we will use?

  • What we will implement?

  • Generating a project

  • Creating tag module and controller

  • Creating tag service

  • Configuring absolute path

  • Installing Postgres

  • Configuring database

  • Creating tag entity

  • Working with tags repository

  • Creating migrations

  • Preparing register request

  • What is DTO?

  • Creating user entity

  • Generating jwt token

  • Validation pipes

  • Login request

  • Auth middleware

  • User decorator

  • Auth guard

  • Updating current user

  • Creating article module

  • Creating article method

  • Polishing create article

  • Get article by slug

  • Deleting the article

  • Updating an article

  • Creating feed

  • Liking articles

  • Disliking articles

  • Seeding the database

  • Getting a profile

  • Following users

  • Unfollowing users

  • Current user feed

  • Backend validation

  • Frontend testing

  • Homework

Meet your instructor

Oleksandr Kocherhin
Oleksandr KocherhinWeb developer with 12 years of experience