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:
1 parent
534fa6dc51
commit
7923ba1b8d
70 files changed
+3085
-3434
No files matched your search
Vendored
+14
-6
@@ -2,16 +2,24 @@
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "API: Attach Nest (9229)",
|
||||
"name": "CRUD: Attach Express (9229)",
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"port": 9229,
|
||||
"restart": true,
|
||||
"preLaunchTask": "api:debug",
|
||||
"preLaunchTask": "crud:debug",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
]
|
||||
"skipFiles": ["<node_internals>/**"]
|
||||
},
|
||||
{
|
||||
"name": "Ingest: Attach Koa (9230)",
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"port": 9230,
|
||||
"restart": true,
|
||||
"preLaunchTask": "ingest:debug",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"skipFiles": ["<node_internals>/**"]
|
||||
},
|
||||
{
|
||||
"name": "Web: Chrome (Vite 5173)",
|
||||
@@ -26,7 +34,7 @@
|
||||
{
|
||||
"name": "Full Stack Debug",
|
||||
"configurations": [
|
||||
"API: Attach Nest (9229)",
|
||||
"CRUD: Attach Express (9229)",
|
||||
"Web: Chrome (Vite 5173)"
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+22
-4
@@ -2,9 +2,9 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "api:debug",
|
||||
"label": "crud:debug",
|
||||
"type": "shell",
|
||||
"command": "yarn workspace api start:debug",
|
||||
"command": "yarn workspace crud-api start:debug",
|
||||
"isBackground": true,
|
||||
"problemMatcher": {
|
||||
"owner": "custom",
|
||||
@@ -14,8 +14,26 @@
|
||||
},
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": "Starting compilation in watch mode",
|
||||
"endsPattern": "Watching for file changes"
|
||||
"beginsPattern": "^.*$",
|
||||
"endsPattern": "(Debugger listening|crud-api listening)"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "ingest:debug",
|
||||
"type": "shell",
|
||||
"command": "yarn workspace ingest-api start:debug",
|
||||
"isBackground": true,
|
||||
"problemMatcher": {
|
||||
"owner": "custom",
|
||||
"fileLocation": "absolute",
|
||||
"pattern": {
|
||||
"regexp": "^(?!x)x$"
|
||||
},
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": "^.*$",
|
||||
"endsPattern": "(Debugger listening|ingest-api listening)"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user