Building APIs with GraphQL and Flask
• o o o o
Assumptions I’m assuming that y’all have some basic knowledge about Graphql & Flask. If not then kindly go through below link: Graphql: https://graphql.org/learn/ Flask: https://flask.palletsprojects.com/
• Introduction o GraphQL is a query language for APIs and a server-side runtime that allows clients to request only the data that they need from APIs. o GraphQL is meant to be a more efficient and flexible alternative to REST.
• Initial steps o Create virtual environment o Install requirements
▫ ▫ ▫ ▫ ▫
Flask Flask-sqlalchemy Flask_login Flask_migration Psycopg2-binary o