Skip to content

A PSQL to GRAPHQL python API using flask

License

Notifications You must be signed in to change notification settings

precisiontox/api

 
 

Repository files navigation

PSQL2GRAPHQL

A python graphQL API that reads its data dynamically from a PostgreSQL <= 9.2 database.

USAGE

python3 -m venv venv
source venv/bin/activate
pip install -r requirement.txt
mv .env.example .env

Then open .env and fill in the values with your credentials and connection.

USER=username
USER_PWD=password
HOST=https://example.com
DATABASE_NAME=database_name

Finally:

flask run

The app is served on port 5000.

About

A PSQL to GRAPHQL python API using flask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Shell 0.6%