A web application that provides a list of items within a variety of categories and integrate third party user registration and authentication.
- Flask 1.0.2
- SQLAlchemy 1.3
- PostgreSQL 9.5.14
- Vagrant
- VirtualBox
- HTML5, CSS3, JavaScript(ES6), Python
This web application is a project under the Udacity's Full Stack Nanodegree program.
- Implements CRUD operations
- Implements OAuth(Google) to login
- Implements API JSON endpoints
- Follow the steps to setup google application
- Clone the repository
$ git clone https://github.com/ShardulDave/Catalog_Application.git
- cd into the follwing folder
$ cd [directory]/Catalog_Application/vagrant/catalog
-
Open fb_client_secrets.json and add the App ID and App Secret into it and save it
-
Open template/login.html and App ID where its written 'Add you App ID here' and save it
-
Run the follwing command into the terminal
$ cd [directory]/Catalog_Application/vagrant
$ vagrant up
$ vagrant ssh
- Once into the vagrant machine run the following command
$ cd /vagrant/catalog
- Now we will need to create a database
$ psql
vagrant=> create database catalogdb
vagrant=> \q
- Now run the files
$ python database_setup.py
$ python app.py
- Now open a web browser and run http://localhost:5000/