How rskaleusalearning1-afk/skills-getting-started-with-github-copilot works
This is a small school-activities web app: students view extracurricular offerings and submit sign-ups. The browser client fetches activity data and posts sign-up requests; the FastAPI app serves the static page, handles those requests, and stores participants in process memory. The HTML is present in the tree but was not sampled, so its specific wiring to the JavaScript is not shown.
Main entry points: app.js Client interactions · app.py List activities · index.html Activity page
Components 7
Browser client
- Activity page
src/static/index.html - Client interactions
src/static/app.js
Activities API
- Page redirect
src/app.py - List activities
src/app.py - Sign up
src/app.py - Activity state
src/app.py
Other components
- Student
Connections 8
- Student → Activity page: opens
- Page redirect → Activity page: redirects to
- Client interactions → List activities: fetches list
- List activities → Activity state: reads
- List activities → Client interactions: returns activities
- Client interactions → Sign up: posts signup
- Sign up → Activity state: checks and updates
- Sign up → Client interactions: returns result