├── .env ├── .eslintrc.js ├── .gitignore ├── LICENSE.md ├── README.md ├── jest.config.js ├── package.json ├── src ├── app.ts ├── routes │ └── user │ │ └── getUser.ts ├── schemas │ ├── auth.ts │ ├── error.ts │ └── user.ts ├── server.ts ├── types │ └── types.d.ts └── utils │ └── config.ts ├── test └── user.test.ts └── tsconfig.json /.env: -------------------------------------------------------------------------------- 1 | NODE_ENV=production -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | .DS_Store 3 | node_modules/ -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/package.json -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/routes/user/getUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/src/routes/user/getUser.ts -------------------------------------------------------------------------------- /src/schemas/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/src/schemas/auth.ts -------------------------------------------------------------------------------- /src/schemas/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/src/schemas/error.ts -------------------------------------------------------------------------------- /src/schemas/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/src/schemas/user.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/types/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/src/types/types.d.ts -------------------------------------------------------------------------------- /src/utils/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/src/utils/config.ts -------------------------------------------------------------------------------- /test/user.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/test/user.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inian/fastify-typescript-starter/HEAD/tsconfig.json --------------------------------------------------------------------------------