The goal for this project was to create a web application that provides a list of items within a variety of categories and integrates third party user registration and authentication. For the latter, I used oauth to integrate Google sign in.
I named the web application "Yo Check This Out!" The concept for the site is users can log in and share recommendations they have for other users to check out. The categories listed include movies, games, and music. Users are able to add recommendations under those categories sharing their favorite items in each category.
- Flask
- SQLAlchemy
- OAuth 2.0
- After cloning this repo to your machine, cd into 'Item_Catalog'.
- Enter the command
vagrant up
. This command can take awhile to run. Ignore the errordefault: stdin: is not a tty
. - Enter the command
vagrant ssh
. - Once vagrant is up and running cd into '/vagrant'.
- The database should be setup already. Incase you want to start fresh, you can delete catalog.db and use the
python database_setup.py
command. Then use thepython populate_database.py
command to add the categories and some filler data. I make it clear in the file where unnecessary data is added so feel free to remove or comment out those lines if you wish. - At this point, all the data should be setup. You can launch the application using the
python application.py
command. Just open up a browser and navigate to 'localhost:5000'.
Geordy Williams