Appearance
Final Project — Deployment & Final Repo
Due: Fri 12/11, 11:59 PM
Your finished project, in your repo: the code on main, a README that enables someone else to run it locally, your deployed app (described in docs/deployment.md), and your docs/ updated to match what you actually built. docs/topic-map.md matters most — it's how we'll find each required topic in your app, and what we'll draw on when we ask you about your project at the final-week assessment.
Deployment
Your app must be deployed and publicly accessible from Fri 12/11, 11:59 PM to Fri 12/18, 5:00 PM. If we finish grading early, we'll let you know you can shut it down.
What we're looking for, as set up in week 9:
- HTTPS at your own address (for example, your
si679.netsubdomain). - It works for every role. We'll log in with the accounts you give us on Canvas, so make sure each one works on the deployed app.
- Realistic data, so there's something to see when we log in.
docs/deployment.mddescribes it: where it runs, its URL, the environment variables it needs (names only), and how one would make a new version live. Leave its Test accounts table empty, or write "On Canvas" in it: logins go on Canvas, not in your repo.
How to submit
Two steps, both before the deadline.
1. Tag the commit you want us to look at as final-repo, and push the tag:
bash
git tag final-repo
git push origin final-repoWe'll look at your repo as of that tag, so you can keep working on main afterward. Make sure the tagged commit is on main — if your group works in pull requests, merge first, then tag.
Tagged the wrong commit?
Need to move the tag to a later commit? Run the same two commands with -f, then resubmit on Canvas so we know to look again:
bash
git tag -f final-repo
git push -f origin final-repo2. Submit on Canvas anything that shouldn't be in your repo:
- A login for each role in your deployed app: username and password. Use accounts made just for this, with passwords you don't use anywhere else.
- Any keys or other secrets we'd need to run your app locally, such as a third-party API key. Your
.env.exampleshould list them by name and explain how to get/create them as well.
How it's graded
The first eight rows are the required topics. For each one, we'll check that it works and that it's done the way we've practiced in class.
| Requirement | Points |
|---|---|
| Data model with related collections | 20 |
| REST API endpoints covering your app's main flows | 20 |
| Authentication, and at least two roles enforced by authorization on the server | 30 |
| Validation and error handling: bad requests get clear 4xx responses, not crashes | 20 |
Tests at more than one level, passing with npm test | 25 |
| A real-time feature whose events reach only the people who should see them | 25 |
| A client that talks to your back end and covers each role's key flows | 20 |
| Deployed with HTTPS, up for the whole window, and the logins for each role work | 30 |
| README: someone new can install, run and test the app locally | 15 |
docs/ matches what you built: topic-map.md points to the files, endpoints and tests for each topic, and deployment.md describes the deployed app | 25 |
| Code organized the way we've built projects in class | 10 |
The final-repo tag is pushed and points to a commit on main, and the logins (and any keys) are on Canvas | 10 |
| Total | 250 |