An instructor introduces a course on building a reservation booking system using NestJS. The curriculum covers data persistence with MongoDB, JWT authentication, Stripe payments, notification services with Gmail, and deployment to Google Cloud using Kubernetes.
Length 2:58
Captions English (Generated), Spanish (Auto-translated), French (Auto-translated), Korean (Auto-translated), Portuguese (Auto-translated), Vietnamese (Auto-translated) #nestjs #microservices #mongodb #kubernetes #google cloud #stripe api #jwt authentication #coding tutorial #software development #web application
0:00 So we're gonna be building a reservation booking system that will actually 0:04 take real payments, be able to bill users, persist 0:08 reservations to a MongoDB database, send email 0:11 notifications using Gmail, and push this all up to the 0:15 cloud using Google Cloud Engine. Okay, so the structure of this course 0:19 is as follows: we're gonna start off by building out our 0:22 common 0:23 library in our NestJS microservices to build common 0:26 code that all of our different microservices can utilize, 0:30 so we can keep our 0:30 code dry and not have to repeat ourself. 0:33 In this common library, we're gonna build our data persistence 0:37 layer using an 0:37 abstract repository that's connected to MongoDB, but we're gonna 0:41 keep it generic so that we can easily swap out our data 0:44 persistence layer at 0:45 any time. We're gonna implement CRUD functionality, 0:48 validation and logging, and start to dockerize our application. 0:53 From there, we're gonna head to authentication 0:55 and implement JWT 0:56 authentication using best practices with Passport.js 1:00 and implementing multiple strategies. 1:03 We're also gonna implement a common auth guard that all of our services can use to 1:07 become authenticated and protect our routes. 1:10 Next, we're gonna go on to implement our 1:12 payments microservice, which is gonna 1:14 use the Stripe API to actually accept real payment 1:18 credentials and actually be able to bill our users properly. 1:21 Next, we're gonna build our notifications 1:23 microservice, which is going to be able 1:25 to accept events emitted from our other applications and then 1:29 send an email using Nodmailer, and we're gonna configure this so that we 1:33 actually send and receive emails using Gmail, and we're gonna connect 1:37 all of these microservices together using the NestJS microservices 1:41 package, which allows us to specify any transport 1:44 layer 1:45 we want to connect the microservices. 1:47 In this course, we're gonna be using the TCP transport
The rest of the transcript is for members.
Sign in