Backend API using the latest technologies and standards. Built to scale
- RESTful Architecture
- Easy-to-read code
- Built with Scalability in mind
- TypeScript
- Express
- MongoDB
- Docker
- Process Management and Clustering using PM2
- Unit and Integration testing ready
- API Documentation using SwaggerUI
- Authentication and Authorization (JWT and Role based)
- Middleware Handling
- Error Handling
- Security Headers (Rate limiting, CORS, XSS, CSRF*)
(* not yet implemented)
- Node >= 8.16.1
- NPM >= 6.4.1
- Yarn >= 1.15.2
- Docker-Compose >= 1.24.0
# run using docker
$ docker-compose up -d
# install dependencies
$ yarn install
# serve with hot reload at localhost:4000
$ yarn dev
# run tests
$ yarn test
# build for production and launch server
$ yarn prod
SECRET # for JWT encoding
API_VER # current version of the API
DB_URL # url for the mongo database
GNU General Public License v3.0