Within your course repository, create a directory "hw2
" for your application and an initial app.py
file. Commit and push to your remote repository.
cd <path_to_repo> mkdir hw2 touch hw2/app.py git add hw2 git commit -m "initial commit for hw2" git push
As you develop your application, ensure changes are committed frequently. Your git
history will be graded.
Throughout the course, we will be incrementally constructing a scalable web application for songs. The sequence the homeworks will follow is below:
The application should support the submission and viewership of entries that are provided via a web form. Submission of entries should support fields that can hold attributes typically related to the application and are stored in a backend database. Examples include:
Follows an MVP pattern and supports the following routes/views:
Have a backend implementation that has:
Model.py
) that supports individual fields with varying data types to support the application and that is documented via Docstrings including parameters and return values with their typesmodel_sqlite3.py
) that supports creation and reading of entries via a sqlite3 databaseCan be run successfully via
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python app.py
app.py
listens on port 5000 when called directly from Pythonrequirements.txt
contains all packages required to run programYou may derive your application out of the supplied code in the course repository at https://github.com/wu4f/cs430-src
The following rubric will be used to evaluate your homework submission:
Overall functionality |
Code documentation (such as Docstrings, comments) |
Code readability and modularity |
git repository activity (commits, commit messages, tags) |
Instructions followed properly including naming and submission of code |