Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Develop RESTful Web Services using NestJS and MongoDB
Highest Rated
Rating: 4.7 out of 5(31 ratings)
224 students
Last updated 4/2021
English

What you'll learn

  • Design and develop RESTful web services
  • Using Nest CLI efficiently
  • Create CRUD. operations
  • Modules, controllers and injectables
  • Filters and Pipes
  • Validation
  • DTO or Data Transfer Objects
  • Asynchronous operations using async/await
  • Persisting data in MongoDB collections
  • Industry standard best practices
  • Connecting to MongoDB cloud based server
  • Deploying our application to Heroku server

Course content

9 sections62 lectures5h 57m total length
  • Course intro1:28
  • Introduction to RESTful services2:54
  • Introduction to Nest JS2:24
  • Software setup6:49

    Install node.js and npm, install visual studio code, configure the code command in path, install the NestJS CLI globally, verify versions, and prepare to create a NestJS project.

  • Course projects
  • Creating our first Nest JS Application15:40

    Create your first NestJS application by running nest new, select npm, and start the dev server to see hello world on localhost:3000; explore modules, controllers, and decorators.

Requirements

  • A basic understanding of JavaScript on NodeJS
  • Basic knowledge of TypeScript is recommended, but not required

Description

Nest (NestJS) is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with and fully supports TypeScript (yet still enables developers to code in pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).

Under the hood, Nest makes use of robust HTTP Server frameworks like Express (the default) and optionally can be configured to use Fastify as well!

Nest provides a level of abstraction above these common Node.js frameworks (Express/Fastify), but also exposes their APIs directly to the developer. This allows developers the freedom to use the myriad of third-party modules which are available for the underlying platform.

In recent years, thanks to Node.js, JavaScript has become the “lingua franca” of the web for both front and backend applications. This has given rise to awesome projects like Angular, React and Vue, which improve developer productivity and enable the creation of fast, testable, and extensible frontend applications. However, while plenty of superb libraries, helpers, and tools exist for Node (and server-side JavaScript), none of them effectively solve the main problem of - Architecture.

Nest provides an out-of-the-box application architecture which allows developers and teams to create highly testable, scalable, loosely coupled, and easily maintainable applications. The architecture is heavily inspired by Angular.

In this course I am going to guide you through the process of planning, developing and deploying a fully-featured RESTful web service using TypeScript+NestJS on Node platform.



Who this course is for:

  • Angular developers who want to apply their Angular/Typescript skills on the back end to create RESTful web services
  • Intermediate JavaScript developers who want to dive into back-end development
  • Any developers willing to apply TypeScript on the back-end
  • Developers eager to learn how to develop performant, secure and production-ready REST APIs following best practices
  • Developers who want to learn how to deploy their application to the cloud (Amazon Web Services)
  • Developers who want to follow building a practical, real-world application from zero to production