├── .editorconfig ├── .env.example ├── .gitignore ├── .taprc ├── LICENSE ├── README.md ├── package.json ├── src ├── app.ts ├── contexts │ ├── login │ │ ├── core.ts │ │ ├── handler.ts │ │ └── types.ts │ └── register │ │ ├── core.ts │ │ ├── handler.ts │ │ └── types.ts ├── database │ └── index.ts ├── models │ ├── result.ts │ └── user.ts ├── plugins │ ├── mongoose.ts │ ├── queues.ts │ └── redis.ts ├── queues │ └── example.ts └── routes │ ├── README.md │ ├── auth │ ├── login │ │ └── index.ts │ └── register │ │ └── index.ts │ └── root.ts ├── test ├── helper.ts ├── plugins │ └── .gitkeep └── tsconfig.json └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.taprc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/.taprc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/package.json -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/contexts/login/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/contexts/login/core.ts -------------------------------------------------------------------------------- /src/contexts/login/handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/contexts/login/handler.ts -------------------------------------------------------------------------------- /src/contexts/login/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/contexts/login/types.ts -------------------------------------------------------------------------------- /src/contexts/register/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/contexts/register/core.ts -------------------------------------------------------------------------------- /src/contexts/register/handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/contexts/register/handler.ts -------------------------------------------------------------------------------- /src/contexts/register/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/contexts/register/types.ts -------------------------------------------------------------------------------- /src/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/database/index.ts -------------------------------------------------------------------------------- /src/models/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/models/result.ts -------------------------------------------------------------------------------- /src/models/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/models/user.ts -------------------------------------------------------------------------------- /src/plugins/mongoose.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/plugins/mongoose.ts -------------------------------------------------------------------------------- /src/plugins/queues.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/plugins/queues.ts -------------------------------------------------------------------------------- /src/plugins/redis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/plugins/redis.ts -------------------------------------------------------------------------------- /src/queues/example.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/queues/example.ts -------------------------------------------------------------------------------- /src/routes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/routes/README.md -------------------------------------------------------------------------------- /src/routes/auth/login/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/routes/auth/login/index.ts -------------------------------------------------------------------------------- /src/routes/auth/register/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/routes/auth/register/index.ts -------------------------------------------------------------------------------- /src/routes/root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/src/routes/root.ts -------------------------------------------------------------------------------- /test/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/test/helper.ts -------------------------------------------------------------------------------- /test/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChristoPy/fastify-template/HEAD/tsconfig.json --------------------------------------------------------------------------------