Skip to content

psyphore/flask-phone-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-phone-book

My 1st take at Python, Flask, GraphQL, Neo4J

Resources

  1. based on
  2. flask
  3. py2neo
  4. py2neo 4
  5. graph dbs + python - medium
  6. graphQL + Neo4J + python - medium
  7. pypi
  8. flask + graphql
  9. graphene-python - django
  10. flask + graphql - medium
  11. Google Calendar API sample
  12. Flask + JWT
  13. How to GraphQL
  14. Flask + GraphQL + JWT
  15. Scikit-image
  16. PILlow
  17. Pipenv guide
  18. Python

Commands

  1. from clean install without pipenv
 > python install pipenv
  1. with pipenv installed already
 > pipenv shell
 > pipenv install
 > flask run
 or
 > FLASK_APP=run.py flask run
 or
 > python run.py
  1. 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

Environment Settings

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

About

Python, Flask, GraphQL, Neo4J

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages