├── .circleci └── config.yml ├── .dockerignore ├── .eslintignore ├── .eslintrc ├── .gitignore ├── Dockerfile ├── archive.sh ├── cdk ├── cdk.json ├── constants.ts ├── dashboard.ts ├── elasticbeanstalk.ts ├── index.ts ├── route53.ts └── s3-deploy.ts ├── deploy.sh ├── destroy.sh ├── index.ts ├── nodemon.json ├── package.json ├── readme.md ├── src ├── api │ ├── index.ts │ ├── middlewares │ │ ├── error.test.ts │ │ └── error.ts │ └── routes │ │ ├── healthcheck.ts │ │ ├── index.test.ts │ │ └── index.ts ├── app.ts ├── conf │ ├── default.ts │ ├── dev.ts │ ├── index.ts │ └── prod.ts └── logger │ ├── index.test.ts │ └── index.ts └── tsconfig.json /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | terraform 3 | node_modules 4 | cdk -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | cdk.out -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/Dockerfile -------------------------------------------------------------------------------- /archive.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/archive.sh -------------------------------------------------------------------------------- /cdk/cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/cdk/cdk.json -------------------------------------------------------------------------------- /cdk/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/cdk/constants.ts -------------------------------------------------------------------------------- /cdk/dashboard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/cdk/dashboard.ts -------------------------------------------------------------------------------- /cdk/elasticbeanstalk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/cdk/elasticbeanstalk.ts -------------------------------------------------------------------------------- /cdk/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/cdk/index.ts -------------------------------------------------------------------------------- /cdk/route53.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/cdk/route53.ts -------------------------------------------------------------------------------- /cdk/s3-deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/cdk/s3-deploy.ts -------------------------------------------------------------------------------- /deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/deploy.sh -------------------------------------------------------------------------------- /destroy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/destroy.sh -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/index.ts -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/readme.md -------------------------------------------------------------------------------- /src/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/src/api/index.ts -------------------------------------------------------------------------------- /src/api/middlewares/error.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/src/api/middlewares/error.test.ts -------------------------------------------------------------------------------- /src/api/middlewares/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/src/api/middlewares/error.ts -------------------------------------------------------------------------------- /src/api/routes/healthcheck.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/src/api/routes/healthcheck.ts -------------------------------------------------------------------------------- /src/api/routes/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/src/api/routes/index.test.ts -------------------------------------------------------------------------------- /src/api/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/src/api/routes/index.ts -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/conf/default.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/src/conf/default.ts -------------------------------------------------------------------------------- /src/conf/dev.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | "port": 8080, 3 | }; 4 | -------------------------------------------------------------------------------- /src/conf/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/src/conf/index.ts -------------------------------------------------------------------------------- /src/conf/prod.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | "port": 8080, 3 | }; 4 | -------------------------------------------------------------------------------- /src/logger/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/src/logger/index.test.ts -------------------------------------------------------------------------------- /src/logger/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/src/logger/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/monostere0/cdk-koa-ts-elasticbeanstalk-api/HEAD/tsconfig.json --------------------------------------------------------------------------------