Web application: (nearly) feature-complete first draft
Goals
- Get the main features of your web application implemented far enough that other people can try it out.
- Cut through the complexity to identify truly essential search and display features, and get them working.
Rubric
1 - data/database.sql is present and loads properly
1 - repo has a "firstdraft" tag
2 - app runs as described in the "testing your application" section below
and serves up a home page at route /
4 - usability/learnability of your user interface
4 - search and display features work as they should
Tags in git
You can give a particular git commit a tag to make it easy for somebody to revert to a particular spot in your repo's history. For example, you might get your code all written and tested in anticipation of releasing version 1.0 of your application. If you then tag your repo with a tag named "v1.0", it will be easy for your maintenance and troubleshooting teams to go back later to try to figure out a bug reported by a customer, or something similar.
To add a tag named "firstdraft" to your repository, do the following:
- Get your code ready to submit.
- Commit and push any final changes.
- Add the tag:
git tag firstdraft - Push the tag to GitHub:
git push origin firstdraft. Note that a normalgit pushdoes not push tags. You have to push a tag explicitly.
Testing your application
The grader and I will do this to test your web application.
- login to stearns
- clone your repo, then
cdto it git checkout firstdraftpsql grading_db < data/database.sql- create a
config.pysuitable for our own database on stearns cd webapppython3 app.py 0.0.0.0 MY_PORT- point a browser to
http://stearns.mathcs.carleton.edu:MY_PORT/ - play around with your app to explore its features