This is an application that allows users to record and share things they want to spend money on meeting the needs of keeping track of their shopping lists.
- Users can sign up for new accounts.
- Users can log in.
- Users can create, view, update and delete shopping lists.
- Users can add, update, view and delete items in a shopping list.
Clone this repository:
Install a virtual environment:
- $ pip install virtualenv
Activate your virtual environment:
- $ source yourenvname/bin/activate
Install requirements:
- $ (yourenvname) pip install -r requirements.txt
This code has been tested usingunittest
and nosetest
.
$ nosetests --with-coverage --cover-package=Tests && coverage report
...........................
Name Stmts Miss Cover Missing
--------------------------------------------------------
Tests\__init__.py 0 0 100%
Tests\test_bucketlist.py 81 0 100%
app\__init__.py 6 3 50% 7-10
app\models.py 73 56 23% 6-9, 11-24, 27, 31, 34, 37, 42-45, 53-54, 57-59, 61, 66-108
config.py 6 0 100%
--------------------------------------------------------
TOTAL 166 59 64%
----------------------------------------------------------------------
Ran 27 tests in 2.885s
OK
Name Stmts Miss Cover
----------------------------------------------
Tests\__init__.py 0 0 100%
Tests\test_bucketlist.py 81 0 100%
app\__init__.py 6 3 50%
app\models.py 73 56 23%
config.py 6 0 100%
----------------------------------------------
TOTAL 166 59 64%
- $ export FLASK_CONFIG=development
- $ export FLASK_APP=run.py
- $ flask run
This product is still at the development stage