Skip to content

alcooke13/fantasy_store_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fantasy Store Project

Flask application where the user is managing a store selling products usually found in a fantasy setting.

Technologies used:

  • Python
  • Flask
  • HTML
  • JINJA
  • CSS

Brief
This was an individual project that the class had to do to combine all the things we've learned from the first four weeks at CodeClan. So I decided on creating an app managing a store in a fantasy setting.

MVP
User is a merchant selling products

Products include a variety of weapons, potions, armors.

  • Each product will have a name, description, cost, price, product type
  • Different manufacturers supplying each product type.
  • Each manufacturer on a product type will have a name and location.
  • Have a visual indicator on how healthy stock is (good / low / out of stock)

NOTE
Unfortunately I was not able to add the different manufacturers that I had originally planned. It was more complicated to implement than I initially thought so with the limited time I had remaining I decided to leave manufacturer's out from this version and instead focus on having a more polished products section and perhaps revisit this and finalise everyting at another time.

I've decided not to update this exact version of the project, and instead build a new and complete version with different tools. Fantasy Store V2: https://github.com/alcooke13/Fantasy_StoreV2

Extensions

  • Calculate markup and display for each product
  • Ability to filter inventory

Installation Guide
Will be required to run this

  • Python3
  • PostgreSQL
  • Flask

In the terminal:

createdb store_inventory
psql -d store_inventory -f db/store_inventory.sql
python3 console.py

This will create the database and feed in starting values to the tables in the database.

flask run

To run the app

To view the app visit: http://127.0.0.1:4999

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors