mirror of
https://github.com/farcasclaudiu/learn-build-apps-copilot-agent.git
synced 2026-06-28 17:01:41 +03:00
Initial commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
## 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.
|
||||
|
||||
### :keyboard: Activity: Scaffold the logic tier
|
||||
|
||||
Use this prompt file:
|
||||
|
||||
> 
|
||||
>
|
||||
> ```prompt
|
||||
> /create-express-logic-tier
|
||||
> ```
|
||||
|
||||
### :keyboard: Activity: Configure and seed the data tier
|
||||
|
||||
Use this prompt file:
|
||||
|
||||
> 
|
||||
>
|
||||
> ```prompt
|
||||
> /init-populate-octofit_db
|
||||
> ```
|
||||
|
||||
1. Commit and push your backend changes.
|
||||
|
||||
1. Wait for Mona to validate and unlock the next step.
|
||||
|
||||
<details>
|
||||
<summary>Having trouble? 🤷</summary><br/>
|
||||
|
||||
Confirm these files include expected content:
|
||||
|
||||
- `octofit-tracker/backend/src/config/database.ts` includes `octofit_db` and `mongoose`.
|
||||
- `octofit-tracker/backend/src/scripts/seed.ts` includes a seed command description.
|
||||
|
||||
</details>
|
||||
Reference in New Issue
Block a user