The item catalog allows to CRUD items based on social login via Facebook or Google. It is build with Python, HTML/CSS frontend, JavaScript and runs in a vagrant virtual machine. Database is running on PostgreSQL
Clone repository:
git clone https://github.com/Roomtailors/
To begin install dependencies by running from root:
- Run vagrant up to provision virtual machine.
- Use 'vagrant ssh' to log into vm.
- Navigate to project root directory /vagrant.
- Run python project_user.py to fire up application.
- Visit running application in your browser at 0.0.0.0:5000
The project already contains a dummy database. This was not added to .gitignore on purpose to avoid set up effort. You can delete the database and re-create one by running categorydata.py
- Install VirtualBox and Vagrant
- Clone git repository
All other dependencies are installed with vagrant provisioning.
|-- .gitignore
|-- api.py // API endpoints for users and JSON API
|-- base.py // Base file for shared functions
|-- categorydata.db // Database, created through categorydata.py
|-- categorydata.py // Populates a dummy database
|-- database_setup.py // Database configuration
|-- project_user.py // Main application file
|-- social_login.py // Functions for google and facebook login
|-- user_functions.py // Functions to interact with authentication
|-- static
| |-- styles
|-- templates
|-- template files
This project is licensed under the MIT License - see the LICENSE.md file for details