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 listing charities and social services in Portland. The sequence the homeworks will follow is below:
The application should support the submission and viewership of application entries that clients provide 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 types
model_sqlite3.py) that supports creation and reading of stores via a sqlite3 database
Can be run successfully via
python3 -m venv env source env/bin/activate pip install -r requirements.txt python app.py
app.pylistens on port 5000 when called directly from Python
requirements.txtcontains all packages required to run program
You 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:
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