python3 -m venv env
source env/bin/activate # you need to run this before running any python commands
pip install -r requirements.txt
start python
interpreter
from backend.init_db import init_db
init_db()
PYTHONPATH=$(pwd) python backend/application.py
Changes to backend code are auto reloaded.
If you run into an issue like TypeError: expected str, bytes or os.PathLike object, not NoneType
, try commenting out this line
npm install
In a different command line window
npm run start
Changes to frontend code are auto reloaded.
Graphql query explorer: http://localhost:5000/graphql
Homepage: http://localhost:5000
- React: https://reactjs.org/docs/getting-started.html
- Graphql backend (Graphene): https://graphene-python.org/
- Graphql frontend (Apollo): https://www.apollographql.com/docs/react/