This is a flask web application, it uses OAuth2 providers to authenticate users and store them in a database.
The app has CRUD operations for:
-
Categories
-
Shops
-
Manufacturers
-
Items
- To add a new category/shop/manufacturer go to 'http://localhost:5050//new'
- For items, instead go to 'http://localhost:5050///new'
- To edit an entry - provided you are the creator - go to the entry and press the edit button
- To delete an entry - provided you are the creator - go to the entry and press the delete button
- To add a new category/shop/manufacturer go to 'http://localhost:5050//new'
A script is initialized when installing the virtual environment, which downloads the necessary software.
- Install Vagrant
- Install VirtualBox
This code runs in a Vagrant environment:
-
Download the ItemCatalog folder
-
Navigate to the downloaded folder
-
Open a terminal
-
Run
vagrant init
vagrant up
vagrant ssh
cd /vagrant
- Inside the vagrant folder:
python ItemCatalog.py
This application is essentially a catalog of items where each item is connected to one category and references a shop id and a manufacturer id.
If you search 'Column' in the dbmodels.py file, you'll easily be able to read which rows each table in the database has.
Go to the API docs, they are generated with Postman.
An alternative is downloading the Postman app and pressing this button:
- Python 2.7
- Vagrant
- Pycharm - Coding
- Postman - APIs
- Webflow - Looks
All contributions a greatly appreciated.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Udacity's Full-Stack Nanodegree(FSND) is the reason this project exists. I cannot express how grateful I am for being able to follow this degree.
The Udacity forums is a great place to get ideas on how to solve hard problems given by the instructors.
The Udacity forums also provides a fantastic way to learn - by teaching others.
ibrahimokdadov's YouTube channel, who made a great tutorial on storing images in Flask.
All the people who spend their time writing great documentation and all of those amazing people answering questions on Stack Overflow and many other places on the internet. Without you, coding would be extremely exhausting.