Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 495 Bytes

File metadata and controls

28 lines (21 loc) · 495 Bytes

MERN-RESTful-API-Template

Application to allow for an easy setup of MERN software project

Technologies used

Node.js Express MongoDB

Files to add

  1. .env
  2. .gitignore

.env code

` NODE_ENV = Development

PORT = 3000

MONGO_URI = `

Folders in backend dir

  1. Routes [all resources have their own route file]
  2. Controlers [stores functions] [import them in routes files]
  3. Middleware []
  4. Config [ store database connection file]
  5. Model [store all the app resources]