Files
marco.chan 7923ba1b8d 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.
2026-09-03 10:13:02 +08:00

37 lines
879 B
JSON

{
"name": "crud-api",
"version": "0.0.1",
"private": true,
"license": "UNLICENSED",
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"start": "tsx src/main.ts",
"start:dev": "tsx watch src/main.ts",
"start:debug": "tsx watch --inspect=9229 src/main.ts",
"lint": "oxlint src/ test/",
"test": "vitest run",
"test:e2e": "vitest run --config ./vitest.config.e2e.ts"
},
"dependencies": {
"contracts": "workspace:*",
"cors": "^2",
"drizzle-orm": "^0.44.5",
"express": "^4",
"ioredis": "^5",
"pg": "^8"
},
"devDependencies": {
"@types/cors": "^2",
"@types/express": "^4",
"@types/node": "^24.0.0",
"@types/pg": "^8",
"@types/supertest": "^7.0.0",
"oxlint": "^1.58.0",
"supertest": "^7.0.0",
"tsx": "^4",
"typescript": "^6.0.2",
"vitest": "^4.1.2"
}
}