Skip to content

rajneshwarsingh/nodejs-CRUD

Repository files navigation

nodejs-CRUD

This project is designed as a demonstration of my skills in building scalable, maintainable, and efficient applications using Node.js and combined with MongoDB databases.

What will you need

  • Clone this repository:
  • An IDE or text editor like VS Code
  • Node version installed above 20.12.1
  • A package manager such as NPM or Yarn
  • Install MongoDB
  • Modify the .env file according to your MongoDB credentials.
  • API testing tool like Postman
  • Import the NodeJS CRUD.postman_collection.json file in Postman.
  • Run the npm install commands for installing the node packages.

Project Run Commands

  • npm start It will create a build and start listing the server.

Key Topics

The following topics covered in this unit:

  • User and Product CRUD with MongoDB
  • Monolithic architecture
  • User SignUp and Login
  • Request method like Get, Post, Put, Patch, Delete
  • JWT authorization and authentication
  • Joi validation
  • Winston error and info loggers
  • Bcrypt for password hashing and compare
  • Helmet
  • Eslint
  • Bable-node
  • Multi environment config
  • PM2 for alive forever
  • Prettier for code formatter
  • Postman collection

Helpful Links

Node.js: Nodejs.org
MongoDB: mongodb.com

© 2024 Rajneshwar Singh

Releases

No releases published

Packages

No packages published