Skip to content

rajneshwarsingh/NestJS-CRUD

Repository files navigation

NestJS CRUD operations

This project is designed as a demonstration of my skills in building scalable, maintainable, and efficient applications using Nest.js, a progressive Node.js framework, combined with Sequelize, a powerful ORM for SQL databases. The primary goal of this project is to showcase best practices in software development, including architectural patterns, code organization, and database management.

What will you need to do

  • Clone this repository: NestJS-CRUD.
  • An IDE or text editor like VS Code.
  • Node version installed above 20.11.1.
  • A package manager such as NPM or Yarn.
  • Install MySQL and phpMyAdmin.
  • Create an .env file based on the .env.sample and update MongoDB credentials.
  • API testing tool like Postman.
  • Import the NestJS CRUD.postman_collection.json file in Postman.
  • Run npm install to install the necessary node packages.
  • Run the npm start commands.

Project Run Commands

  • npm start It will create a build and start listing the server. It will also automatically create all the table in the database.

Key Topics

The following topics covered in this unit:

  • User register and Login
  • Request method like Get, Post, Put, Delete
  • JWT passport authorization and authentication
  • DTO validation
  • Sequelize with MySQL
  • Wiston logger
  • User and Bookmark CRUD
  • Argon2 for password hashing and compare
  • Eslint
  • Multi environment config
  • PM2 for alive forever
  • Prettier for code formatter
  • Postman collection

Helpful Links

NestJS: nestjs.com
NodeJS: nodejs.org
Typescript: typescriptlang.org

Connect with me


© 2023 Rajneshwar Singh

About

Nest.js CRUD operation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published