feat: initialize ingest-api with Koa and telemetry handling

- Create ingest-api with Koa framework for handling device telemetry.
- Implement telemetry ingestion with MongoDB, Redis, and PostgreSQL.
- Add API endpoints for telemetry and health checks.
- Set up testing with Vitest for unit and end-to-end tests.
- Configure Prettier and ESLint for code formatting and linting.
- Create Docker Compose setup for PostgreSQL, MongoDB, and Redis services.
- Establish contracts package for shared Zod schemas and TypeScript types.
- Implement React frontend with device status and greeting functionalities.
- Add VS Code setup documentation for onboarding developers.
This commit is contained in:
marco.chan committed 2026-09-03 10:13:02 +08:00
1 parent 534fa6dc51
commit 7923ba1b8d
70 files changed
+3085 -3434

No files matched your search

+6 -8
View File
@@ -6,14 +6,12 @@
"apps/*",
"packages/*"
],
"dependencies": {
"@jig-software/trest": "^2.0.0-beta",
"@koa/router": "^12",
"bson": "^5",
"koa": "^2",
"koa-body": "^6",
"path-to-regexp": "^6",
"zod": "^3"
"scripts": {
"compose:up": "docker compose up -d",
"compose:down": "docker compose down",
"dev:crud": "yarn workspace crud-api start:dev",
"dev:ingest": "yarn workspace ingest-api start:dev",
"dev:web": "yarn workspace web dev --host 127.0.0.1 --port 5173"
},
"devDependencies": {
"typescript": "5.9.2"