Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 725 Bytes

File metadata and controls

37 lines (25 loc) · 725 Bytes

Express-MongoDB-Skeleton

Basic stater backend project using Express, MongoDb.

NPM PACKAGES

  • Mongoose as ODM
  • Consola and Morgan for logger
  • Http-errors for error handling
  • Joi for schema validation
  • Nodemon for monitoring changes

Add necessary or additional packages if needed using npm install <package_name>

Installation

Download Node.js v14+ to run.

Install the dependencies and devDependencies and start the server.

cd project_folder
npm i
npm run dev

Run server without Nodemon: npm start

Verify the deployment by navigating to your server address in your preferred browser.

127.0.0.1:<PORT>
localhost:<PORT>

Author - Ganesh License - MIT