├── .eslintrc.json ├── .gitignore ├── .prettierrc ├── README.md ├── package.json ├── src ├── config.ts ├── controller │ ├── comments.controller.ts │ └── posts.controller.ts ├── index.ts ├── routes │ ├── comments.routes.ts │ └── posts.routes.ts ├── types.ts └── utils.ts ├── tsconfig.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env 3 | dist -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/package.json -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/controller/comments.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/src/controller/comments.controller.ts -------------------------------------------------------------------------------- /src/controller/posts.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/src/controller/posts.controller.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/routes/comments.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/src/routes/comments.routes.ts -------------------------------------------------------------------------------- /src/routes/posts.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/src/routes/posts.routes.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/immortalmind2016/REST-APIs-Design/HEAD/yarn.lock --------------------------------------------------------------------------------