Boilerplate for building a modern REST API with Node.js, Express & MongoDB(WIP)
- ES2020 optional chaining & nullish operator support
- Complete REST API Example (WIP)
- CORS
- Cookie & Body parser
- Auth with jwt (WIP)
- MongoDB(WIP)
- Dockerized
- Linting with Eslint & Prettier
git clone https://github.com/JorgeJOcampo/express-api-boilerplate your-project-name
cd your-project-name
rm -rf .git
yarn
Use the .env.example to build your .env's files
yarn dev
yarn start
# Build docker
docker build -t express-api .
# Run docker
docker run -p 3000:3000 express-api
docker-compose up