You can use this template when you're starting a new project. It contains general concepts, you can customize it according to your needs.
A boilerplate/starter project for quickly building RESTful APIs using Node.js, Express, and Mongoose.
- User Registration
- User Login
- Authorization with middleware
- Authentication with JSON web tokens.
Server: Node, Express, Mongoose, JWT
Clone the project
git clone https://github.com/colburncodes/node-template
Go to the project directory
cd node-template
Install dependencies
npm install
Start the server
npm run start to launch the server
npm run dev to launch the server with the hot reload feature