PyLadies assignment
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
pies.py
pies_rest.py
seed.sql

README.md

Pre requisites

  • Install Python
  • Install Flask and Flask-restfult with your favourite package manager
  • Install SQLite

Setup

  • Clone this repository (or just download the zip & extract)
  • Setup the DB table with: $ sqlite3 pies.db < seed.sql
  • Verify that you can connect * use the database file (pies.db)

Task 1

  • Create a simple Flask app that list all pies, and displays a single pie's details in text and JSON format

Task 2

  • Write a RESTful API where you can interact with pies