├── .gitignore ├── LICENSE ├── README.MD ├── cover.png ├── fs ├── nodemon.json ├── package.json ├── src ├── .env.example ├── app │ ├── events │ │ └── UserEvents.ts │ ├── models │ │ └── User.ts │ ├── notifications │ │ └── NewUserRegisterNotification.ts │ ├── policies │ │ └── UserPolicy.ts │ └── request │ │ ├── controllers │ │ ├── HomeController.ts │ │ └── UserController.ts │ │ ├── middlewares │ │ ├── auth.ts │ │ └── index.ts │ │ └── schema │ │ ├── UserRequestSchema.ts │ │ └── index.ts ├── configs │ ├── app.ts │ ├── database.ts │ ├── index.ts │ └── mail.ts ├── core │ ├── Application.ts │ ├── Controller.ts │ ├── Policy.ts │ ├── Server.ts │ ├── constants │ │ └── HttpResponseCode.ts │ ├── extendeds │ │ ├── Cache.ts │ │ ├── Config.ts │ │ ├── Controller.ts │ │ ├── Env.ts │ │ ├── Exception.ts │ │ ├── Hash.ts │ │ ├── Hook.ts │ │ ├── Mail.ts │ │ ├── Notification.ts │ │ ├── Policy.ts │ │ ├── Queue.ts │ │ ├── RequestReplay.ts │ │ ├── Response.ts │ │ ├── RouteDefinition.ts │ │ ├── Schema.ts │ │ └── Storage.ts │ ├── internal │ │ ├── event_schema.txt │ │ ├── fs.png │ │ ├── notification_schema.txt │ │ ├── schema_template.txt │ │ └── service.js │ ├── service │ │ ├── JSService.js │ │ └── PathService.ts │ └── types │ │ ├── AsyncFunction.ts │ │ ├── FileData.ts │ │ ├── IDBConfig.ts │ │ ├── INotification.ts │ │ ├── IPlugin.ts │ │ └── IResponseCode.ts ├── hooks │ ├── PluginHook.ts │ ├── RouteHook.ts │ └── index.ts ├── init.ts ├── public │ ├── favicon.ico │ └── index.html ├── routes │ └── index.ts └── storage │ └── .gitignore └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/LICENSE -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/README.MD -------------------------------------------------------------------------------- /cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/cover.png -------------------------------------------------------------------------------- /fs: -------------------------------------------------------------------------------- 1 | require('./src/core/internal/service.js') -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/package.json -------------------------------------------------------------------------------- /src/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/.env.example -------------------------------------------------------------------------------- /src/app/events/UserEvents.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/app/events/UserEvents.ts -------------------------------------------------------------------------------- /src/app/models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/app/models/User.ts -------------------------------------------------------------------------------- /src/app/notifications/NewUserRegisterNotification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/app/notifications/NewUserRegisterNotification.ts -------------------------------------------------------------------------------- /src/app/policies/UserPolicy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/app/policies/UserPolicy.ts -------------------------------------------------------------------------------- /src/app/request/controllers/HomeController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/app/request/controllers/HomeController.ts -------------------------------------------------------------------------------- /src/app/request/controllers/UserController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/app/request/controllers/UserController.ts -------------------------------------------------------------------------------- /src/app/request/middlewares/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/app/request/middlewares/auth.ts -------------------------------------------------------------------------------- /src/app/request/middlewares/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/app/request/middlewares/index.ts -------------------------------------------------------------------------------- /src/app/request/schema/UserRequestSchema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/app/request/schema/UserRequestSchema.ts -------------------------------------------------------------------------------- /src/app/request/schema/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/app/request/schema/index.ts -------------------------------------------------------------------------------- /src/configs/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/configs/app.ts -------------------------------------------------------------------------------- /src/configs/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/configs/database.ts -------------------------------------------------------------------------------- /src/configs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/configs/index.ts -------------------------------------------------------------------------------- /src/configs/mail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/configs/mail.ts -------------------------------------------------------------------------------- /src/core/Application.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/Application.ts -------------------------------------------------------------------------------- /src/core/Controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/Controller.ts -------------------------------------------------------------------------------- /src/core/Policy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/Policy.ts -------------------------------------------------------------------------------- /src/core/Server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/Server.ts -------------------------------------------------------------------------------- /src/core/constants/HttpResponseCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/constants/HttpResponseCode.ts -------------------------------------------------------------------------------- /src/core/extendeds/Cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Cache.ts -------------------------------------------------------------------------------- /src/core/extendeds/Config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Config.ts -------------------------------------------------------------------------------- /src/core/extendeds/Controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Controller.ts -------------------------------------------------------------------------------- /src/core/extendeds/Env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Env.ts -------------------------------------------------------------------------------- /src/core/extendeds/Exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Exception.ts -------------------------------------------------------------------------------- /src/core/extendeds/Hash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Hash.ts -------------------------------------------------------------------------------- /src/core/extendeds/Hook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Hook.ts -------------------------------------------------------------------------------- /src/core/extendeds/Mail.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Mail.ts -------------------------------------------------------------------------------- /src/core/extendeds/Notification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Notification.ts -------------------------------------------------------------------------------- /src/core/extendeds/Policy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Policy.ts -------------------------------------------------------------------------------- /src/core/extendeds/Queue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Queue.ts -------------------------------------------------------------------------------- /src/core/extendeds/RequestReplay.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/RequestReplay.ts -------------------------------------------------------------------------------- /src/core/extendeds/Response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Response.ts -------------------------------------------------------------------------------- /src/core/extendeds/RouteDefinition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/RouteDefinition.ts -------------------------------------------------------------------------------- /src/core/extendeds/Schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Schema.ts -------------------------------------------------------------------------------- /src/core/extendeds/Storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/extendeds/Storage.ts -------------------------------------------------------------------------------- /src/core/internal/event_schema.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/internal/event_schema.txt -------------------------------------------------------------------------------- /src/core/internal/fs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/internal/fs.png -------------------------------------------------------------------------------- /src/core/internal/notification_schema.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/internal/notification_schema.txt -------------------------------------------------------------------------------- /src/core/internal/schema_template.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/internal/schema_template.txt -------------------------------------------------------------------------------- /src/core/internal/service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/internal/service.js -------------------------------------------------------------------------------- /src/core/service/JSService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/service/JSService.js -------------------------------------------------------------------------------- /src/core/service/PathService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/service/PathService.ts -------------------------------------------------------------------------------- /src/core/types/AsyncFunction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/types/AsyncFunction.ts -------------------------------------------------------------------------------- /src/core/types/FileData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/types/FileData.ts -------------------------------------------------------------------------------- /src/core/types/IDBConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/types/IDBConfig.ts -------------------------------------------------------------------------------- /src/core/types/INotification.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/types/INotification.ts -------------------------------------------------------------------------------- /src/core/types/IPlugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/types/IPlugin.ts -------------------------------------------------------------------------------- /src/core/types/IResponseCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/core/types/IResponseCode.ts -------------------------------------------------------------------------------- /src/hooks/PluginHook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/hooks/PluginHook.ts -------------------------------------------------------------------------------- /src/hooks/RouteHook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/hooks/RouteHook.ts -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/hooks/index.ts -------------------------------------------------------------------------------- /src/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/init.ts -------------------------------------------------------------------------------- /src/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/public/favicon.ico -------------------------------------------------------------------------------- /src/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/public/index.html -------------------------------------------------------------------------------- /src/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/src/routes/index.ts -------------------------------------------------------------------------------- /src/storage/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uksarkar/fastify_startup/HEAD/tsconfig.json --------------------------------------------------------------------------------