mirror of
https://github.com/farcasclaudiu/learn-build-apps-copilot-agent.git
synced 2026-06-22 07:01:37 +03:00
22 lines
622 B
Markdown
22 lines
622 B
Markdown
---
|
|
mode: 'agent'
|
|
model: GPT-5.5
|
|
description: 'Create the Node.js logic tier for the Octofit multi-tier application'
|
|
---
|
|
|
|
Create the logic tier in `octofit-tracker/backend` for the Octofit Tracker multi-tier application.
|
|
|
|
Requirements:
|
|
|
|
1. Do not change directories; use path-qualified commands.
|
|
2. Initialize a TypeScript Node.js API with Express.
|
|
3. Configure scripts for build/dev/start.
|
|
4. Add route handlers for:
|
|
- `/api/users/`
|
|
- `/api/teams/`
|
|
- `/api/activities/`
|
|
- `/api/leaderboard/`
|
|
- `/api/workouts/`
|
|
5. Keep server port on `8000`.
|
|
6. Add Codespaces-aware API URL support using `CODESPACE_NAME`.
|