nimttejani / Catalog

A very simple catalog app, demonstrating basic CRUD operations using Flask, SQLAlchemy, Postgresql, and google/facebook OAuth2 sign-in. It users Materialize for front-end styling.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Catalog Management

standard-readme compliant

Table of Contents

Background

A very simple catalog management app, demonstrating basic CRUD operations using Flask, SQLAlchemy, Postgresql. It users Materialize for front-end styling.The files in this repository provide a few basic back-end functions to run a swiss pairing tournament, using postgresql db and python.

Note: You may want to install Vagrant and Virtual-Box for running some of these files.

Author

Sejal Parikh

Frameworks and tools used

  1. Materialize - for front-end styling
  2. SQLAlchemy - connects and interacts with database using ORM
  3. Postgresql - Database system
  4. Flask - Python web developement framework

How to Use

  1. Download all the files in the same folder, say 'catalog'.
  2. On your terminal, change the path to the catalog folder and do the following to setup your database:
    • $ vagrant up (pg_config.sh file contains installation script for all the required packages to run this project.)
    • $ vagrant ssh
    • Change the path to the ItemsCatalog directory
    • $ python database_setup.py
    • $ python catalog.py
  3. To view the db schema, run $ psql catalog

Source Files

  1. database_setup.py : Creates the postgresql database
  2. catalog.py : Contains necessary handlers for all CRUD operations and app navigations.
  3. pg_config.sh : Contains scripts to install and setup necessary packages to get the app running.

License

GNU General Public License v3

About

A very simple catalog app, demonstrating basic CRUD operations using Flask, SQLAlchemy, Postgresql, and google/facebook OAuth2 sign-in. It users Materialize for front-end styling.

License:GNU General Public License v3.0


Languages

Language:Python 61.1%Language:HTML 37.0%Language:Shell 1.9%