Nest JS Building APIs with access token and refresh token #25 #nestjs #microservices

Hi Everyone,
This Video is a part of the Playlist "Uber Eats Clone" Application and we are covering everything from ground zero to hero
Link https://www.youtube.com/watch?v=t1JsK9rMYI8&list=PLIGDNOJWiL1-Smf4ABmuvcOrV7E4mCqN3

In this video, I am talking about creating a baseline service with nestjs and postgres
we will be using docker to create containers and for the demo
we will build a simple node js microservice that will provide us auth API routes for login, register, and all user management operations

00:00 access token and refresh jwt tokens
01:20 generating both token post login using @nestjs/jwt
09:00 updating user entity with refresh token
18:00 creating refresh and logout routes
19:00 adding auth guard to logout and refresh routes
24:00 validate refresh token and compare with database
27:00 generate refresh token and update user table

GitHub Link
https://github.com/tkssharma/uber-eats-clone-app Welcome to Uber eats clone App development
Let's build Uber Eats Clone App
we are going to build everything from ground zero using the latest technology and tools
We will build the most common features for any food delivery app

How UberEats Clone Script Works?

Find all food stores available at customer location.
Browse various menus and find a meal customer likes.
Pay money for your meal. Quick, Secure and Simple.
Food prepared and delivered to predefined address.


Tools and technologies we are going to user

- Architecture discussion
- different type of architecture
- lerna for monorepo
- github action for CI/CD
- sveltekit for dashboard app
- next js for end user application
- svelte kit for managing SSR using SvelteKit
- React and next js
- Nests with Node JS
- SQS and Kafka
- Twillio and sendGrid
- Microservices and service communication
- Express with Node JS and typescript
- Prisma and TypeORM for services
- Docker and containerization
- Mysql and Postgres with MongoDB

Github :
https://github.com/tkssharma/uber-eats-clone-app

Comments