feat: initial ImportEx API setup with Hono + Drizzle + PostgreSQL
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:
pius-coder
2026-04-15 23:27:26 +01:00
parent 325d9063e8
commit e671c107ca
16 changed files with 491 additions and 0 deletions

27
package.json Normal file
View File

@@ -0,0 +1,27 @@
{
"name": "importex-api",
"version": "1.0.0",
"module": "src/server.ts",
"type": "module",
"private": true,
"scripts": {
"dev": "bun run --hot src/server.ts",
"start": "bun run src/server.ts",
"typecheck": "tsc --noEmit",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:studio": "drizzle-kit studio"
},
"devDependencies": {
"@types/bun": "latest",
"drizzle-kit": "^0.31.10",
"typescript": "^5"
},
"dependencies": {
"@hono/node-server": "^1.19.14",
"drizzle-orm": "^0.45.2",
"hono": "^4.12.14",
"postgres": "^3.4.9",
"zod": "^4.3.6"
}
}