🥠Ready to use Express setup
Mango is a ready to use Express API setup that helps you skip the boring stuff when creating APIs.
- Simple Routing with Express with separate, readable controllers and routing files
- Request logging with Morgan
- Mongo connection and schemas with Mongoose
- Some helpful modules e.g. body-parser
- Simple startup script that logs info from
package.json
- ESLint + Prettier support.
- Dockerfile and Docker-compose setup to get everything running instantly.
- Fork, download or clone this repository
- Run
yarn
to install all dependencies - Run
docker-compose build
anddocker-compose up
There are some environment variables. When not provided default values are used from config/config.json
.
MONGO
(config:mongodb://localhost/mango
)PORT
(config:8080
)