├── .dockerignore ├── .env.example ├── .github └── workflows │ ├── docker-image.yml │ └── node.js.yml ├── .gitignore ├── .swcrc ├── .vscode ├── launch.json └── tasks.json ├── Dockerfile ├── LICENSE ├── README.md ├── __tests__ └── app.test.ts ├── docker-compose.yml ├── ecosystem.config.js ├── jest.config.js ├── package.json ├── setupTests.ts ├── src ├── config │ └── environment.d.ts ├── controllers │ └── index.ts ├── interfaces │ └── index.ts ├── lib │ └── index.ts ├── main.ts ├── middlewares │ ├── error.ts │ ├── index.ts │ └── limiter.ts ├── routes │ └── index.ts └── utils │ ├── catchAsync.ts │ └── index.ts ├── tsconfig.json └── yarn.lock /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | DATABASE_URL="your_database_url" -------------------------------------------------------------------------------- /.github/workflows/docker-image.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/.github/workflows/docker-image.yml -------------------------------------------------------------------------------- /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/.github/workflows/node.js.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/.gitignore -------------------------------------------------------------------------------- /.swcrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/.swcrc -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/app.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/__tests__/app.test.ts -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /ecosystem.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/ecosystem.config.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/package.json -------------------------------------------------------------------------------- /setupTests.ts: -------------------------------------------------------------------------------- 1 | import 'dotenv/config'; 2 | jest.setTimeout(10000); 3 | -------------------------------------------------------------------------------- /src/config/environment.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/src/config/environment.d.ts -------------------------------------------------------------------------------- /src/controllers/index.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /src/interfaces/index.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /src/lib/index.ts: -------------------------------------------------------------------------------- 1 | export default {} -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/middlewares/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/src/middlewares/error.ts -------------------------------------------------------------------------------- /src/middlewares/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/src/middlewares/index.ts -------------------------------------------------------------------------------- /src/middlewares/limiter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/src/middlewares/limiter.ts -------------------------------------------------------------------------------- /src/routes/index.ts: -------------------------------------------------------------------------------- 1 | export default {}; -------------------------------------------------------------------------------- /src/utils/catchAsync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/src/utils/catchAsync.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yusfuu/node-typescript-boilerplate/HEAD/yarn.lock --------------------------------------------------------------------------------