ghostwriternr / api

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

Scaffold a flask app #2

Open ghostwriternr opened 6 years ago

ghostwriternr commented 6 years ago

Create a flask app that will serve our API. A quick tutorial can be found online. Use this tutorial for reference: https://dzone.com/articles/restful-web-services-with-python-flask

Create an endpoint /departments and handle a GET request that will return a list of all departments (which you can manually populate using this: https://wiki.metakgp.org/w/Category:Departments)