Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 487 Bytes

File metadata and controls

26 lines (21 loc) · 487 Bytes

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.