My 1st take at Python, Flask, GraphQL, Neo4J
- based on
- flask
- py2neo
- py2neo 4
- graph dbs + python - medium
- graphQL + Neo4J + python - medium
- pypi
- flask + graphql
- graphene-python - django
- flask + graphql - medium
- Google Calendar API sample
- Flask + JWT
- How to GraphQL
- Flask + GraphQL + JWT
- Scikit-image
- PILlow
- Pipenv guide
- Python
- from clean install without pipenv
> python install pipenv
- with pipenv installed already
> pipenv shell
> pipenv install
> flask run
or
> FLASK_APP=run.py flask run
or
> python run.py
- running tests
running a specific test file
> python -m unittest tests/test_custom_utilities.py -v
> python -m unittest tests/test_people_service.py -v
or
running tests in discovery mode
> python -m unittest discover -v
DEBUG=true
BIND_HOST=127.0.0.1
BIND_PORT=5000
NEO4J_HOST=localhost
NEO4J_HTTP_PORT=7474
NEO4J_BOLT_PORT=7687
NEO4J_USER=username
NEO4J_PASSWORD=password
JWT_SECRET_KEY=supersecretkey
JWT_REFRESH_EXP_LENGTH=30
JWT_ACCESS_EXP_LENGTH=10
JWT_TOKEN_ARGUMENT_NAME=Authorization