Skip to content

HichamGS/python-with-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Posts Api Using Python and Graphql

Configuration

pip install flask ariadne flask-sqlalchemy flask-cors psycopg2 python-dotenv

Running

export FLASK_APP=app.py

then :

flask run

Tips

  • For this example, you can use a hosted SQL database like ElephantSQL, or you can use any SQL database you like.
  • Ariadne is not compatible with graphql-core 3.1 so better to have Python <= 3.8 to avoid issues

About

API ex using python and Graghql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published