Server code using Node.js (Use node 18.12.1)
- Clone the repo
git clone https://github.com/sidddev7/node-express-boilerPlate.git- Enter the folder
cd node-express-boilerPlate- Install Dependencies
npm install- Start the application
npm start-
Good to go 🔥
-
Add the mongodb database credentials in the env file #Authentication endpoints:-
-
/users/register (method: post, register new admin)
-
/users/login (method: post, login authentication for admin)
