Best restaurants in Calgary by cuisines. This application uses Flask to demonstrate CRUD functionality on a sqlite database. Used trello for project management; https://trello.com/b/gxybDdor
db_setup.py sets up a new database with some initial data. If you want to start with a fresh database, delete "yycrestaurants.db" and run this db_setup code first. Alternatively, you can use the database that's included here as is.
Instructions to run a copy of this on your machine.
Virtualbox and vagrant with sqlalchemy and python libraries. Please see instructions at https://github.com/udacity/fullstack-nanodegree-vm#installation to get your environment setup.
Once you have the Vagrant up and running, copy this project (or clone with git) into /vagrant/catalog/ and run the application by typing
python3 catalog.py
For example;
- https://localhost:5000/cuisines/3/JSON (gets all restaurants under cuisine with id=3)
- https://localhost:5000/cuisines/3/restaurant/1/JSON (get the specified restaurant with restaurant_id=1)
- Kaan Eroglu - Initial work - kaan.ca
- Udacity FSND Instructions - Installation instructions
This project is licensed under the MIT License
- Udacity mentors