Files
learn-build-apps-copilot-agent/.github/steps/3-django-project-setup.md
T
2026-06-20 04:28:24 +03:00

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:

Static Badge

/create-express-logic-tier

⌨️ Activity: Configure and seed the data tier

Use this prompt file:

Static Badge

/init-populate-octofit_db
  1. Commit and push your backend changes.

  2. Wait for Mona to validate and unlock the next step.

Having trouble? 🤷

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.