Skip to main content Link Search Menu Expand Document (external link)

General Assembly Logo

Python and Flask Project

Create an API using Python, Flask, and SQL!

Prerequisites

  • Python
  • SQL and PeeWee
  • Flask

Instructions

  1. Create a new repository on GitHub (not GitHub Enterprise)
  2. Clone down the repository and complete your work in there.
  3. Fulfill the listed requirements.

Your submission is due by the deadline on your cohort calendar. Submit your project by creating an issue on this repository.

Requirements

For this project, you’re going to find a dataset and build an API using Python, SQL, and Flask.

Your project should meet the following requirements:

  1. Run without errors
  2. Built in Python and Flask, use a SQL database with PeeWee models
  3. Have at least one model
  4. Have a list and show route for every model
  5. Include a README written in well formatted Markdown (hint: look up a README template)
  6. Shows a good commit history with frequent commits. We’re looking for lots of small commits

Submission

DO NOT FORK THIS REPOSITORY! Create a new repository, then submit your project as an issue on this repository.

Potential APIs to use

You could also use one of the Data is Plural or Kaggle data sets. Data is Plural is a weekly email newsletter of interesting and unique datasets and APIs. Their archive contains every dataset or API they’ve featured.

Bonus

Once you have the base requirements met, consider one of the following bonuses:

  1. Get Update and Delete working
  2. Use web scraping to get more data. Here are two good sources to get you started:

License

  1. All content is licensed under a CC­BY­NC­SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.