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.
-
Python
-
Sqlite
-
flask
$ apt-get install python-flask- pip
$ apt-get install python-pip- Sql alchemy
$ apt-get install python-sqlalchemy- oauth2client
$ pip install oauth2client - httplib2
$ pip install httplib2- dicttoxml (python library)
$ pip install dicttoxml-
Git (optional)
-
A gmail or facebook id
download zip
Unzip the file
$ cd item-catalogor
Clone github repository
Open the shell in mac/linux or command prompt in windows and navigate to the folder you wnat to clone the repository
Make sure you have installed git
$ git clone https://github.com/ajack13/item-catalog.gitthis should clone the repository to the folder
This folder contains all the html templates of the app
This folder contsins css,js,images and cover-art of the items
Contains python defenitions for the following operations
- Setting up server and run flask
- Add/Delete/Edit category
- Add/Delete/Edit items
- JSON and XML endpoints
- Oauth autherization and authentication for facebook and gmail
- database_setup.py ( code to setup database )
- sampleData.py ( code to add sample data to database)
- Navigate to the project and create the database by running database_setup.py
$ python database_setup.py- Import sample data(optional)
$ python sampleData.py - Start project by running core.py
$ python core.py- The app is configured to run on port 8000 on your browser
http://localhost:8000/1.1