https://github.com/sbagdat/catalogr
An item catalog example application written with Flask and sqlite3.
https://github.com/sbagdat/catalogr
Last synced: 12 months ago
JSON representation
An item catalog example application written with Flask and sqlite3.
- Host: GitHub
- URL: https://github.com/sbagdat/catalogr
- Owner: sbagdat
- Created: 2016-05-15T17:21:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-05-20T22:24:35.000Z (about 8 years ago)
- Last Synced: 2025-01-08T15:59:35.842Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Catalogr
An item catalog example application written with Flask and sqlite3.
It provides:
* User authentication with Google+ account
* User registration system
* Item lists are grouped into categories.
* JSON API for all catalogs, any catalog, or any item
* Any user:
* can see all categories and items, and item details.
* Registered users:
* can create, update, and delete their own categories as well as items.
## Requirements
* Python 2.7.11
* SQLite 3.9.2
* Flask 0.9
* SQLAlchemy 1.0.12
* Google+ Client Secrets(client_secrets.json)
## Usage
* Install dependencies
```
pip install -r requirements.txt
```
* Download (or clone) the [repository](https://github.com/sbagdat/catalogr)
* To create database:
```
python database_setup.py
```
* To populate database with seed data:
```
python db_seed.py
```
* Run the application:
```
python application.py
```
* Navigate to http://localhost:5000