ghostwriternr / api

(Highly experimental) API for IITKGP
GNU General Public License v3.0
2 stars 1 forks source link

Convert the flask app to a DB based API and extend /departments #3

Open ghostwriternr opened 6 years ago

ghostwriternr commented 6 years ago

Prerequisite: #2

Extend the flask app to communicate with a database (instead of hard-coding the data within the Python script). You may refer to this tutorial: https://scotch.io/tutorials/build-a-restful-api-with-flask-the-tdd-way

Feel free to skip the sections regarding Environment configurations and testing. Write the data model for departments. Note that this will be exactly the same as bucketlists in the above tutorial. You don't have to handle migrations for this PR.

aditodkar commented 6 years ago

I will work on this.