This repo proposes a bootstrap for an Express REST API backend written in Typescript and tested with Jest + Ponicode + Supertest. It is served by a MongoDB.
This repo has been built following this excellent Tutorial by Alex Losikov. You can find the full bootstrap repo here.
The technologies that are used in this bootstrap project are:
- ExpressJS with Typescript as the server
- OpenAPI 3.0 with Swagger for the API definition
- swagger-routes-express to generate express routes based on OpenAPI specification
- Morgan and Winston for logging management
- MongoDB with Mongoose for the DB management
- Jest, Ponicode and Supertest for the testing
You can find more advanced implementation in the original Tutorial from Alex here.