feat: add bot and api services with config, logger and database packages

- Add bot service with telegram integration and webhook/polling modes
- Add api service with hono, swagger and zod-openapi
- Create config package for environment variable management
- Create logger package for colored console logging
- Create database package with prisma integration
- Remove next.js web and docs apps
- Update turbo.json for new services
- Add dockerfiles and gitea workflows for deployment
This commit is contained in:
Yuu Ottosoka
2025-07-08 19:46:08 +03:00
parent 393c175460
commit 71365836d3
85 changed files with 5635 additions and 4333 deletions

28
apps/api/package.json Normal file
View File

@@ -0,0 +1,28 @@
{
"name": "api",
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "NODE_PATH=./src tsnd --respawn --transpile-only --exit-child src/index.ts",
"build": "tsc",
"start": "NODE_PATH=./dist node ./dist/index.js"
},
"dependencies": {
"@hono/node-server": "^1.15.0",
"@hono/swagger-ui": "^0.5.2",
"@hono/zod-openapi": "^0.9.0",
"@hono/zod-validator": "^0.4.3",
"@repo/config": "*",
"@repo/logger": "*",
"@repo/typescript-config": "*",
"dotenv": "^17.1.0",
"hono": "^4.8.4",
"hono-openapi": "^0.4.8",
"zod": "^3.25.76",
"zod-openapi": "^4.2.4"
},
"devDependencies": {
"ts-node-dev": "^2.0.0",
"typescript": "latest"
}
}