git clone https://github.com/n3xusss/backend_express_template
step 2 : after cloning the repo run a terminal inside the cloned repo folder and run this command to install all dependencies
npm install
step 3 : after install all dependencies you will need to run the server next on your terminal just type this sample command :
npm start
- controllers
- controllers.js
- db
- connectdb.js
- extra
- errhandler.js
- notfound.js
- routes
- routes.js
- schemas
- model.js
- app.js
- package.json
/api/v1/addp - POST
api/v1/getp - GET
dont forget to include your mongodb cluster in .env file after the name "MONGO = your_cluster_key"