Skip to content

ISA-tools/psql2graphql

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