Skip to content

saimanoj/catalog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Item-Catalog

Create a Tiles Catalog app where users can add, edit, and delete different types of tiles and different models in the tiles.

Setup and run the project

Prerequisites

  • Python 2.7
  • Vagrant99
  • VirtualBox

How to Run

  1. Install VirtualBox and Vagrant
  2. Clone this repo
  3. Unzip and place the Item Catalog folder in your Vagrant directory
  4. Launch Vagrant
$ vagrant up 
  1. Login to Vagrant
$ vagrant ssh
  1. Change directory to /vagrant
$ cd /vagrant
  1. Initialize the database
$ python database_setup.py
  1. Populate the database with some initial data
$ python db_items.py
  1. Launch application
$ python catalog.py
  1. Open the browser and go to http://localhost:5000

JSON endpoints

Returns JSON of all Category

/category/JSON

Returns JSON of specific menu item

/category/<int:category_id>/item/<int:item_id>/JSON

Returns JSON of menu

/category/<int:category_id>/JSON

About

Tiles Catalog app where users can add, edit, and delete different types of tiles and different models in the tiles.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors