mirror of
https://github.com/farcasclaudiu/learn-build-apps-copilot-agent.git
synced 2026-06-22 07:01:37 +03:00
1.3 KiB
1.3 KiB
applyTo
| applyTo |
|---|
| ** |
Octofit Tracker Multi-tier Application Setup Guidelines
Application goals
Build an Octofit Tracker multi-tier application with:
- User authentication and profiles
- Activity logging and tracking
- Team creation and management
- Competitive leaderboard
- Personalized workout suggestions
Command execution rules
- Never change directories in commands.
- Always reference target paths directly.
Forwarded ports
- 8000: public (logic/API tier)
- 5173: public (presentation tier)
- 27017: private (data tier)
Do not propose any other ports to forward or make public.
Project structure
octofit-tracker/
├── backend/
│ ├── src/
│ ├── package.json
│ └── tsconfig.json
└── frontend/
├── src/
└── package.json
Stack requirements
Presentation tier
- React 19 with Vite
- react-router-dom for navigation
- bootstrap for styling
Logic tier
- Node.js (LTS)
- Express
- TypeScript
Data tier
- MongoDB (
mongodb-org) - Mongoose for data access
MongoDB service expectations
- Always use
ps aux | grep mongodto check whether mongod is running. mongodb-orgis the official MongoDB package.mongoshis the official client tool.- Use Mongoose models from the logic tier for schema/data work instead of ad-hoc raw scripts.