- 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.
60 lines
1.4 KiB
JSON
60 lines
1.4 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "crud:debug",
|
|
"type": "shell",
|
|
"command": "yarn workspace crud-api start:debug",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"owner": "custom",
|
|
"fileLocation": "absolute",
|
|
"pattern": {
|
|
"regexp": "^(?!x)x$"
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"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)"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "web:dev",
|
|
"type": "shell",
|
|
"command": "yarn workspace web dev --host 0.0.0.0 --port 5173",
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"owner": "custom",
|
|
"fileLocation": "absolute",
|
|
"pattern": {
|
|
"regexp": "^(?!x)x$"
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "^.*$",
|
|
"endsPattern": "(Local:|ready in)"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|