Udacity Fullstack Nanodegree Project: Item Catalog App
Develop an application that provides a list of items within a variety of categories as well as provide a user registration and authentication system. Registered users will have the ability to post, edit and delete their own items.
database_setup.py - creates the sqlite database and related tables
server.py - runs the web app
populate_database.py - inserts values to the tables created by database_setup.py
auth.py - authentication function and helper function to work with users
static - for css styles
templates - for HTML templates
Python --version
vagrant up
and log in command vagrant ssh
python3 database_setup.py
to create sqlite database and tables.python3 server.py
to run the application.
* Go to [Google APIs Console](https://console.developers.google.com/apis)
* Sign up or Login.
* Go to Credentials.
* Select OAuth Client ID.
* Select Web Application.
* Enter the name of your project 'My Project'.
* Set the authorized JavaScript origins `http://localhost:8000`, save changes.
* Copy the Client ID and paste it into login.html in your templates folder.
* On the consol download JSON file.
* Rename JSON file to client_secrets.json
* Put JSON file in your project's directory.
* Run your application.