.
├── docs
├── src
│ ├── api
│ ├── config
│ ├── plugins
│ └── index.ts
├── ecosystem.config.js
├── nodemon.json
├── package.json
├── tsconfig.json
├── tslint.json
└── yarn.lock
It is actually a swagger ui project. You do not need do anything with that.
All your code should be placed in this directory.
.
└── sample
├── controller.ts
├── model.ts
└── router.ts
It is like MVC design pattern but without 'V'. We are only produce JSON or XML outputs.
.
├── auth.ts
├── cors.ts
├── docs.ts
├── environment.ts
├── http.ts
├── index.ts
├── mongodb.ts
├── logger.ts
├── spdy.ts
└── statics.ts
We provide default configurations. By editing them, you will find how easy it is.
Plugins configuraions will be placed in here.
The project's main entry. Normally, you do not need to modify it.
It is for pm2 deployment.
More info here http://pm2.keymetrics.io/docs/usage/deployment/
It is for local development.
More info here https://github.com/remy/nodemon
An package.json.
Typescript configurations.
More info here https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
TSLint configurations. https://palantir.github.io/tslint/usage/tslint-json/
If you are not using yarn
, just remove it.
Find yarn here https://github.com/yarnpkg/yarn