One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
''' | |
Run the following commands (bc. gists don't allow directories) | |
pip install flask django dj-database-url psycopg2 | |
mkdir -p app/migrations | |
touch app/__init__.py app/migrations/__init__.py | |
mv models.py app/ | |
python manage.py makemigrations | |
python manage.py migrate |
The following will need to be known / obtained before getting started:
// Generated from https://github.com/mongodb/mongo/blob/master/src/mongo/base/error_codes.err | |
// Extra not including | |
// class_error not inserted | |
export enum MongoErrorCode { | |
OK = 0, | |
INTERNAL_ERROR = 1, | |
BAD_VALUE = 2, | |
OBSOLETE_DUPLICATE_KEY = 3, | |
NO_SUCH_KEY = 4, | |
GRAPH_CONTAINS_CYCLE = 5, |
#User Stories - Overview
Authentication: User can signup/login/logout
Items for sale: User can view lists of items for sale and search by name, filter by price.
Shopping Cart: User can add items to shopping cart and the app remembers it next time you login. User can view all the items in their shopping cart. User can delete items in the shopping cart. Shopping cart uses an integer column to store "state".
Checkout: User can fill in form and submit billing info. After submitting billing info, items in the shopping cart will move to a different "state".