This is starter template of express, typescript, eslint, swagger, winston, to be best practice for using these packages, with good default configuration.
- Implemented by Typescript and Eslint is enabled, also
- Two get/post endpoints are documented by Swagger, and they work, actually
- Log saved by using Winston, and logs are kept during two months, and then they are removed, automatically
$ npm install
Run :)
$ npm run dev
Please visit all of addresses belows as they are working, now.
- http://localhost:3000/api-docs
- Swagger API document
- http://localhost:3000/
- http://localhost:3000/welcome