- Clone this repository:nodejs-microservices
- An IDE or text editor like VS Code
- Node version installed above 20.12.1
- Install MySQL and phpMyAdmin
- Run the following commands to start the full project
- Make the bash script executable:
chmod +x nodeServe.sh
- Run the bash script:
./nodeServe.sh
- Make the bash script executable:
- Import the NodeJS-Microservices.postman_collection.json file in postman
- Microservices APIs ready for the testing
- Make the bash script executable:
chmod +x nodeServe.sh
- Run the bash script:
./nodeServe.sh
The following topics were covered in this unit:
- User CRUD module with SignUp and Login
- Product CRUD module
- Express-Gateway
- Microservices architecture
- Request method like Get, Post, Put, Delete
- JWT authorization and authentication
- Joi validation
- Sequelize ORM
- Winston error and info loggers
- Bcrypt for password hashing and compare
- Helmet
- Eslint
- Multi environment config
- PM2 for alive forever
- Prettier for code formatter
- Postman collection
- Bash script
Node.js: | Nodejs.org |
Typescript: | typescriptlang.org |
Microservice: | microservices.io |
© 2024 Rajneshwar Singh