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

34 lines
862 B
Markdown

# Fresh Grad Checklist for VS Code Setup
Use this in order. Do not skip steps.
## 10-Minute Quick Path
1. Open repo root in VS Code
2. Run yarn install at root
3. Run yarn dlx @yarnpkg/sdks vscode
4. Select TypeScript workspace version
5. Restart TypeScript server
6. Run API debug profile
7. Run Web debug profile
8. Open Full Stack Debug
## If Something Breaks
1. Rerun yarn install
2. Check workspace names with yarn workspaces list --json
3. Ensure api name in apps/api/package.json is correct
4. Confirm .vscode settings include typescript.tsdk
5. Reload VS Code window
## What to Ask for Help With
- Private registry token access issues
- Workspace naming mismatches
- Dependency added to wrong workspace
- Debug profile not attaching on port 9229
## Golden Rule
When in doubt, run commands from repo root first, then target a specific workspace.