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
Step 3: Build the logic and data tiers for the multi-tier application
Note
Behind the scenes: Custom instructions and prompt files guide Copilot while building the logic and data tiers.
In this step, you will implement the backend of the multi-tier application:
- Configure MongoDB connection for
octofit_db. - Create Express routes for users, teams, activities, leaderboard, and workouts.
- Add a seed script to populate test data.
⌨️ Activity: Scaffold the logic tier
Use this prompt file:
/create-express-logic-tier
⌨️ Activity: Configure and seed the data tier
Use this prompt file:
/init-populate-octofit_db
-
Commit and push your backend changes.
-
Wait for Mona to validate and unlock the next step.
Having trouble? 🤷
Confirm these files include expected content:
octofit-tracker/backend/src/config/database.tsincludesoctofit_dbandmongoose.octofit-tracker/backend/src/scripts/seed.tsincludes a seed command description.