├── .dev.vars.example ├── .editorconfig ├── .gitignore ├── .prettierrc ├── README.md ├── drizzle.config.ts ├── migrations ├── 0000_huge_oracle.sql └── meta │ ├── 0000_snapshot.json │ └── _journal.json ├── package.json ├── src ├── api │ └── users │ │ ├── dto │ │ ├── index.ts │ │ ├── profile.dto.ts │ │ ├── signin.dto.ts │ │ ├── signup.dto.ts │ │ └── user.dto.ts │ │ ├── openapi │ │ ├── index.ts │ │ ├── profile.openapi.ts │ │ ├── signin.openapi.ts │ │ └── signup.openapi.ts │ │ ├── users.routes.ts │ │ └── users.service.ts ├── core │ ├── configs │ │ └── workers.ts │ ├── database │ │ └── drizzle.ts │ └── middlewares │ │ └── auth.middleware.ts ├── index.ts └── models │ └── user.model.ts ├── tsconfig.json ├── vitest.config.mts ├── worker-configuration.d.ts └── wrangler.jsonc /.dev.vars.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/.dev.vars.example -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/README.md -------------------------------------------------------------------------------- /drizzle.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/drizzle.config.ts -------------------------------------------------------------------------------- /migrations/0000_huge_oracle.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/migrations/0000_huge_oracle.sql -------------------------------------------------------------------------------- /migrations/meta/0000_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/migrations/meta/0000_snapshot.json -------------------------------------------------------------------------------- /migrations/meta/_journal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/migrations/meta/_journal.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/package.json -------------------------------------------------------------------------------- /src/api/users/dto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/api/users/dto/index.ts -------------------------------------------------------------------------------- /src/api/users/dto/profile.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/api/users/dto/profile.dto.ts -------------------------------------------------------------------------------- /src/api/users/dto/signin.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/api/users/dto/signin.dto.ts -------------------------------------------------------------------------------- /src/api/users/dto/signup.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/api/users/dto/signup.dto.ts -------------------------------------------------------------------------------- /src/api/users/dto/user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/api/users/dto/user.dto.ts -------------------------------------------------------------------------------- /src/api/users/openapi/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/api/users/openapi/index.ts -------------------------------------------------------------------------------- /src/api/users/openapi/profile.openapi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/api/users/openapi/profile.openapi.ts -------------------------------------------------------------------------------- /src/api/users/openapi/signin.openapi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/api/users/openapi/signin.openapi.ts -------------------------------------------------------------------------------- /src/api/users/openapi/signup.openapi.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/api/users/openapi/signup.openapi.ts -------------------------------------------------------------------------------- /src/api/users/users.routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/api/users/users.routes.ts -------------------------------------------------------------------------------- /src/api/users/users.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/api/users/users.service.ts -------------------------------------------------------------------------------- /src/core/configs/workers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/core/configs/workers.ts -------------------------------------------------------------------------------- /src/core/database/drizzle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/core/database/drizzle.ts -------------------------------------------------------------------------------- /src/core/middlewares/auth.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/core/middlewares/auth.middleware.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/models/user.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/src/models/user.model.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/vitest.config.mts -------------------------------------------------------------------------------- /worker-configuration.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/worker-configuration.d.ts -------------------------------------------------------------------------------- /wrangler.jsonc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/naserdehghan/workers-d1-hono-drizzle-template/HEAD/wrangler.jsonc --------------------------------------------------------------------------------