A template for your next backend project integrated with ExpressJS, MongoDB and pino-logger, Simply create a .env
as directed by .env.sample
, enter your MongoDB Atlas Cluster URL and get started 🚀
Send initial get request to http://localhost:8080/api/main/hi
File | Description |
---|---|
config/db.js |
Contains configurations for connecting to MongoDB Atlas Cluster |
controller/ |
contains core functions that are to be performed by APIs |
models/ |
Contains MongoDB Schema models |
public/ |
Contains frontend stuff like HTML and CSS |
routes/ |
Contains routes files that defines APIs endpoints |
services/ |
Contains configuration for Services like logging and cronjobs etc etc |