Skip to content

victorocna/express-mongo-api-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Mongo API starter

Starter for Node Express API projects with Mongo database packed with features like pagination, authentication, powerful middlewares and many more.

Documentation and wiki

Refer to the examples folder for code examples regarding controllers, models, routes and seeds for "to do" items.

Quick start

Install dependencies

npm ci

Copy the example environment variables

cp .env.example .env

Optional: Add seeds to your Mongo database

npm run seed

Start the local server

npm run dev

Where to start

The goal is to write real code in less than 5 minutes.

Explore the projects examples. In the examples folder, with the local server started, follow these tasks:

  • Create a new route in the routes folder
  • Create a new controller in the controllers folder
  • Link the new route with the new controller
  • Test the new route from the browser

About

Starter for Node Express API projects with Mongo database

Topics

Resources

License

Stars

Watchers

Forks

Contributors 8