feat: initial ImportEx API setup with Hono + Drizzle + PostgreSQL
Some checks are pending
Deploy to Production / deploy (push) Waiting to run
Some checks are pending
Deploy to Production / deploy (push) Waiting to run
- Hono server with CORS and logging middleware - Drizzle ORM with PostgreSQL schema (users table) - Environment config with Zod validation - Dockerfile for production deployment - Gitea Actions workflows for dev/main deployment to Coolify - Health check route
This commit is contained in:
11
drizzle.config.ts
Normal file
11
drizzle.config.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { defineConfig } from "drizzle-kit";
|
||||
import { env } from "./src/config/env";
|
||||
|
||||
export default defineConfig({
|
||||
schema: "./src/db/schema/index.ts",
|
||||
out: "./drizzle",
|
||||
dialect: "postgresql",
|
||||
dbCredentials: {
|
||||
url: env.DATABASE_URL,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user