to do
rag pipeline
eval set
doing
crud api
ci cache
done
schema
live url
DATABASE_URL=
APP_ENV=production
csp221a
the final development project. build it like a real team.
4 sprints · 4 consultations · 1 demo day · deployed free on the web
sprint 1
Walking skeleton deployed, CI runs on every pull request.
◆ consultation 1 week 2sprint 2
Full CRUD through the API and UI, API tests in CI.
◆ consultation 2 week 3sprint 3
The AI feature end to end, an eval set, mocked LLM tests.
◆ consultation 3 week 4sprint 4
Hardening, docs, measured pipeline gains, public URL.
◆ consultation 4 finaldemo day
Tagged release on production and a live deploy challenge.
your pitch becomes a real product
For the rest of the term your team builds, ships, and presents the full-stack AI application you pitched, the same way a professional software team works.
the course staff is your client
Treat the instructor as your client and engineering leadership. Weekly consultations are your sprint reviews. Demo Day is where you show a working product to stakeholders and defend the decisions you made to get there.
By the end you should have a deployed product, a repository that tells the story of how it was built, and a presentation that proves you understand what you made.
you choose everything
Domain, framework, language, database, AI provider, host, and CI/CD tool are yours. There is no approved list. Be ready to justify every choice.
process is graded
A polished app built in the last three days scores lower than a steady build with a visible history of planning, reviews, and deploys.
one devops engineer
One teammate owns the CI/CD workflow and is graded on how well they design, automate, optimize, and manage it.
you ship continuously
From Sprint 1 your app lives on the web, and every merge to main moves through an automated pipeline.
roles
Every team has exactly one DevOps Engineer. Everyone else is a Developer, and how you split development work is up to you. Declare roles in your README and at your first consultation.
the devops engineer required
Owns the path from a developer's commit to a running production app: the pipeline, environments, secrets, deployments, and the numbers that show how fast and reliably the team ships.
They are not the team's backup coder. They may write application code, but their individual grade comes only from the CI/CD rubric.
| common split | typical ownership |
|---|---|
| Backend / API | API design, validation, database access, error handling |
| AI Engineer | LLM integration, prompts, RAG or tools, output validation, evals |
| Frontend | UI, state, wiring to the API, user-facing error states |
| Full-stack | A vertical slice of features end to end |
product owner duty
One person, any role, keeps the backlog prioritized and speaks for the product at consultations. This can rotate weekly.
code review
Every change to main goes through a pull request reviewed by at least one teammate.
honest attribution
Commits, pull requests, and issue assignments are how contribution is measured. Work that isn't in the repository is hard to credit.
Roles can change once mid-project with a good reason. Tell the instructor first and document the change.
what the finished product must do
The seven requirements from your pitch are now your acceptance criteria. How you meet them is your call.
| # | requirement | what we'll look for at demo day |
|---|---|---|
| 1 | CRUD on a real database | Create, read, update, and delete on your core resource, working live and persisting across refreshes and redeploys |
| 2 | Non-trivial AI/LLM feature | RAG, tool calling, structured extraction, or an agentic flow that does real work in the app |
| 3 | Backend API (REST or GraphQL) | The frontend never calls the LLM or database directly; the backend owns AI and data logic |
| 4 | Frontend wired to the backend | Real data in the UI, with loading, empty, and error states handled |
| 5 | Relational database design | 2+ related tables or collections with a relationship the app actually uses |
| 6 | Environment and secrets | No secrets in the repository or its history, a complete .env.example, secrets set per environment |
| 7 | Error handling | Graceful behavior when the LLM times out, fails, or returns bad output, and when clients send malformed requests |
four sprints, one loop
Each one-week sprint ends with a consultation. The goals describe a healthy pace, not gates. If your project needs a different order, explain why at consultation.
- sprint planningPick the week's work from the backlog. Break it into issues of a day or two, each with an owner.
- build in branchesOne branch per issue. Work lands through a pull request that passes the pipeline and gets a teammate's review.
- async standupsTwo to three times a week in your team channel: done, next, blocked. Keep them as evidence.
- continuous deploymentMerged work deploys automatically. Production always reflects main.
- sprint reviewThe consultation: demo what's deployed, walk the board, present the pipeline report.
- retrospectiveA short written retro in your sprint log: what went well, what didn't, one change for next sprint.
foundation and walking skeleton
A thin, deployed version of the whole stack, end to end, even if it does almost nothing yet.
build this week
- Repository with README, branch strategy, .gitignore, and .env.example
- Backlog created from your pitch, with issues for every requirement
- Database schema implemented and migrated
- A minimal frontend calling one backend endpoint that reads from the database
- First CI pipeline on every pull request: install, lint, build
- First deployment to a live URL, triggered by the pipeline
- One test call to your AI provider from the backend to confirm keys work
consultation 1 checks
- Roles declared and backlog created
- Schema migrated
- Walking skeleton on a live URL
- CI running on pull requests
watch this sprint
team workflow, git, and data modelingcore resource and api
Full CRUD on your core resource, through a real API, visible in a real UI.
build this week
- All CRUD endpoints for the core resource, with request validation
- The relationship between your tables used in real features
- Screens to create, view, edit, and delete records
- Automated API tests running in the pipeline
- Separate environments taking shape, such as preview or staging next to production
consultation 2 checks
- Full CRUD through the API and the UI
- API tests running in the pipeline
- Every merge deploys automatically
watch this sprint
apis and testingthe ai feature
Your AI feature working end to end, with the backend processing its output.
build this week
- The AI feature integrated through the backend: structured output, tool calling, retrieval, or multi-step logic
- Backend validation, transformation, or storage of the AI's output
- A small evaluation set of example inputs with expected outputs or acceptance checks
- Mocked LLM calls in automated tests so CI doesn't depend on a paid live API
- First pass at AI error handling: timeouts, provider errors, malformed output
consultation 3 checks
- AI feature working end to end
- Backend processing of AI output
- A small evaluation set
- Mocked LLM tests in CI
watch this sprint
llms, rag, structured output, agentshardening, polish, and release
A product you'd be comfortable handing to a real user, live on a public URL.
build this week
- Complete error handling for AI failures and malformed requests
- UI polish: loading states, empty states, readable error messages
- Security review: no secrets in history, input limits, rate or cost guards on AI endpoints
- Pipeline optimization with before-and-after numbers
- Docs finished: README, architecture diagram, API reference, setup guide
- Production deployed on a free host with a public URL (see hosting)
- A tagged release, such as v1.0.0, with a changelog
consultation 4 checks
- Release candidate live on a public URL
- Error handling complete
- Docs drafted
- Pipeline gains measured
- Rollback tested
watch this sprint
security and test disciplinebuild, run, and improve the pipeline
The DevOps Engineer is graded on one question: how well did you build, run, and improve the system that takes your team's code to production? Any CI/CD platform, any host. What's graded is the design, the automation, the measured improvement, and the evidence.
pipeline design
Check every pull request and deploy every merge to main with no manual steps.
environments
Production at minimum, ideally staging or per-PR previews, each with its own config and secrets.
secrets
Nothing secret enters the repo. Inject secrets from your CI or host's secret store, scoped per environment.
quality gates
Protected main branch, required checks, and required review before merge.
release and rollback
Know how to roll production back to the last good version, and prove you can.
measurement
Track pipeline performance weekly and back every optimization with numbers.
a mature pipeline, for reference
This is a reference, not a required template. Build the stages your project needs, in an order that fails fast: cheap checks before expensive ones.
Make the pipeline measurably faster and more reliable over the four sprints. Common techniques:
- Cost. Mock the provider in unit tests; keep live calls to a small scheduled smoke test.
- Prompts are code. When a prompt changes, run the eval set automatically and report whether quality held.
- Non-determinism. Test the shape and validity of output, not exact wording.
- Outages. A provider outage shouldn't block deploys of unrelated changes.
- Key hygiene. Separate keys per environment, with spending limits on non-production keys.
| week | avg PR pipeline (min) | main pipeline (min) | success rate (%) | prod deploys | lead time, merge→live (min) | failed deploys | time to recover (min) | change made |
|---|---|---|---|---|---|---|---|---|
| sprint 1 | — | — | — | — | — | — | — | — |
| sprint 2 | — | — | — | — | — | — | — | — |
| sprint 3 | — | — | — | — | — | — | — | — |
| sprint 4 | — | — | — | — | — | — | — | — |
- Pipeline configuration files in the repository
- PIPELINE.md: each stage, why it exists, and its trigger
- A pipeline diagram
- The completed metrics log
- An optimization log with before-and-after numbers
- A deploy and rollback runbook any teammate could follow
- An incident log with short postmortems
watch for the devops engineer
ci/cd, github actions, containersship it to the web, for free
By the Sprint 4 consultation, your production app must run on a public URL on the web. Deploy as early as Sprint 1 so hosting problems surface while there's time to fix them.
| host | good for | free tier, in short | watch out for |
|---|---|---|---|
| Vercel | Frontends and serverless API routes | Hobby plan is free, with Git-based deploys and preview URLs | personal use Hobby is for personal, non-commercial projects. Usage caps can't be raised without upgrading. |
| Render | A long-running backend API | Free web services with 750 instance hours a month | cold starts Idle services sleep after 15 minutes and take about a minute to wake. Free Postgres expires 30 days after creation, so don't use it for this project's database. |
| Railway | Backend plus attached services | 30-day trial with $5 in credit, then a small free allowance | trial clock Start it when you're ready to deploy so the trial covers Demo Day. |
| Neon | Your Postgres database | Permanent free plan, no credit card, branches for previews | compute hours Free compute is capped per project; plenty for a class project. |
Any other free host is fine too. You choose, as long as the app is publicly reachable and you can explain the trade-offs.
consultations
Each sprint ends with a 15-minute consultation scored out of 20. Show working software, be honest about what slipped, and leave with clear next steps. The whole team attends.
| 4 min | Live demo of this sprint's work, from the deployed URL |
| 3 min | Board walkthrough: planned, done, slipped, and why |
| 3 min | DevOps report: pipeline changes, metrics, incidents |
| 2 min | Risks and next sprint: top risk and what you'll deliver |
| 3 min | Questions: any member may be asked to explain any code |
- The deployed app, open and ready
- Your project board with this sprint's items
- The repository with this sprint's pull requests
- The sprint log: plan, standups, last retro
- The updated pipeline metrics log
| criterion | 4 · exemplary | 3 · proficient | 2 · developing | 1 · beginning |
|---|---|---|---|---|
| Sprint delivery | All committed items done, or slips explained with sound reasoning and re-planned | Most items done; slips explained | About half done; vague on what slipped | Little planned work done; no clear account |
| Working deployed increment | New features demoed live on the deployed app, stable throughout | Works on the deployed app with minor issues | Partly deployed, or shown on localhost | No working demo, or screenshots only |
| Engineering process | Board current; small reviewed PRs; standups and retro logged | Board mostly current; PRs reviewed; small gaps | Board stale or PRs merged without review | No visible process; direct pushes to main |
| Pipeline and DevOps report | Pipeline improved with metrics to prove it; incidents logged with postmortems | Pipeline running and maintained; metrics updated | Pipeline unreliable or metrics missing | Pipeline mostly manual or broken |
| Risk awareness and planning | Names the real top risk with a concrete mitigation; specific next-sprint plan | Reasonable risks and plan | Generic risks or vague plan | No risk awareness or plan |
demo day
30 minutes per team: 20 minutes presenting, 10 minutes of panel questions, scored out of 100. Show it works, show how it works, and show you can keep it running.
| 3 min | Problem and product: who it's for and why it's worth using |
| 4 min | Architecture: system diagram, key decisions, trade-offs |
| 6 min | Live demo on production: full CRUD and the AI feature |
| 3 min | AI deep dive: output processing, evaluation, graceful failure |
| 4 min | DevOps and delivery: pipeline, environments, metrics trend, incidents |
At the start of your session the panel asks for a small visible change. A developer makes it, opens a PR, gets it reviewed, and merges. The pipeline must carry it to production before your session ends, with the DevOps Engineer narrating each stage.
- Explain any part of the codebase they pick
- Show the app when the AI provider fails or returns bad output
- Send a malformed request to your API
- Show there are no secrets in your repo history
- Roll production back to the previous release
| criterion | pts | excellent (90–100%) | satisfactory (60–80%) | needs work (<50%) |
|---|---|---|---|---|
| Problem and product clarity | 10 | Clear user, real problem, convincing value; scope explained | Problem clear; value generic | Unclear who it's for or why |
| Live demo, CRUD, and data | 15 | Full CRUD on production; related data used meaningfully; no crashes | CRUD works with minor glitches | Partial CRUD, local-only, or failing |
| AI feature depth | 20 | Non-trivial AI doing real work; backend acts on output; evaluation shown | Works and is processed, but shallow or unevaluated | Pass-through, bolt-on chatbot, or broken |
| Architecture and API design | 10 | Clean separation; sensible API; trade-offs explained with confidence | Reasonable with some coupling | Frontend reaches LLM or DB directly |
| Error handling and resilience | 10 | AI and request failures handled gracefully in a live drill | Most handled; rough edges | Crashes, stack traces, silent failures |
| Security and secrets | 5 | No secrets in history; complete .env.example; per-env secrets; cost guards | Handled with minor gaps | Secrets committed or hard-coded |
| Engineering process | 10 | Steady sprints, small reviewed PRs, maintained board, logs, retros | Visible but uneven | Most work dumped near the deadline |
| Live deploy challenge | 5 | Change reaches production through the pipeline within the session | Manual workaround or late | Not deployed |
| Delivery and Q&A | 15 | Every member answers on their own work with depth; well paced | Most answered; some gaps | Members can't explain their work |
individual track rubrics
Each student also gets an individual score out of 100. Developers use the Developer Contribution rubric. The DevOps Engineer uses the CI/CD Workflow rubric instead.
| criterion | pts | excellent (90–100%) | satisfactory (60–80%) | needs work (<50%) |
|---|---|---|---|---|
| Ownership and scope | 25 | Owned a substantial, identifiable part of the product end to end | Meaningful but narrower or unclear ownership | Minor or unclear contribution |
| Code quality | 20 | Readable, consistent, tested code that passes the pipeline cleanly | Works, with gaps in tests or consistency | Untested, fragile, hard to follow |
| Consistency over time | 15 | Steady commits and PRs in every sprint | Most sprints, some bursts | Most work in the final days |
| Collaboration | 15 | Thoughtful PR reviews; active in standups; unblocks others | Reviews and standups done, but light | Rarely reviews or communicates |
| Technical understanding | 25 | Explains own code and decisions with depth; reasons about alternatives | Explains with some gaps | Can't explain own code |
| criterion | pts | excellent (90–100%) | satisfactory (60–80%) | needs work (<50%) |
|---|---|---|---|---|
| Pipeline design and coverage | 15 | Well-ordered stages from lint to post-deploy checks, each justified in PIPELINE.md | Core stages present in a sensible order | Only builds or deploys, few checks |
| Automation and quality gates | 10 | Zero manual deploy steps; protected main; required checks and reviews | Mostly automated; loose gates | Manual deploys or unprotected main |
| Optimization with measured results | 20 | Several optimizations with before-and-after numbers; clear downward trend | Some optimizations, partial evidence | None, or claims without numbers |
| Environments and secrets | 10 | Production plus staging or previews; scoped secrets; clean history | Production plus local; secrets correct | One environment; secrets mishandled |
| AI-aware pipeline practices | 10 | Mocked LLM tests; evals on prompt changes; scheduled smoke test; capped keys | Mocked tests and some AI checks | Live unguarded AI calls every run |
| Release and rollback | 10 | Tagged releases with changelog; rollback tested and shown live | Tagged; rollback documented, untested | No release or rollback plan |
| Reliability and incidents | 10 | High success rate; flaky tests fixed; every incident has a postmortem | Most failures addressed | Often broken; incidents ignored |
| Metrics, docs, and reporting | 10 | Metrics log complete each sprint; clear PIPELINE.md, diagram, runbook | Mostly complete | Sparse or missing |
| Live performance | 5 | Narrates the live deploy confidently; answers with depth | Deploy succeeds; some hesitation | Struggles to explain or operate it |
how it adds up
Team scores and an individual score combine, so a strong team can't carry an absent member and one bad sprint doesn't sink a strong individual.
Each component becomes a percentage, then gets weighted. Example: 70/80 on consultations (87.5%), 85/100 on Demo Day, and 90/100 individually:
final deliverables
Submit the repository link and the production URL before code freeze. Ticks are saved in this browser only, as a personal checklist.
0 of 0 checkedPRODUCT
DOCUMENTATION
PROCESS
DEVOPS
frequently asked questions
what to know before your first sprint.
can we use tools we didn't use in class?
Yes. Use whatever fits your product, and be ready to explain why you chose it over the alternatives.
can we use ai coding assistants?
Yes, the way professional teams do. You're still responsible for every line you merge. If you can't explain it at consultation or Demo Day, it counts against you.
can we change our project from the pitch?
Yes. Record what changed and why in your scope change log, and tell the instructor at your next consultation. Dropping one of the seven core requirements is not allowed.
does the devops engineer write app code?
They may, but their individual grade comes only from the CI/CD rubric. Developers shouldn't offload their own work onto them.
do we have to pay for hosting or ai?
No. The free tiers listed under hosting are enough for this project, and free or trial AI credits or a local model work too. Set spending limits on every key, and mock LLM calls in tests to keep CI costs near zero.
what if a teammate isn't contributing?
Raise it early with the instructor, not at Demo Day. The repository history and board make contribution visible, and individual scores reflect it.
what if our deploy breaks before a consultation?
Present it honestly: the incident, your diagnosis, and the fix or rollback. Handling a failure well is part of what's graded, especially for the DevOps Engineer.
what if production goes down on demo day?
Roll back to the last good release and keep going. A team that recovers calmly scores better than one that pretends nothing happened.