Skip to content

rajneshwarsingh/nodejs-microservices

Repository files navigation

Nodejs-Microservices

What will you need

  • 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
  • Import the NodeJS-Microservices.postman_collection.json file in postman
  • Microservices APIs ready for the testing

Project Run Commands

  • Make the bash script executable: chmod +x nodeServe.sh
  • Run the bash script: ./nodeServe.sh

Key Topics

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

Helpful Links

Node.js: Nodejs.org
Typescript: typescriptlang.org
Microservice: microservices.io

© 2024 Rajneshwar Singh