A walk in GraphQL
Python setup
Install or update Python version >=3.6
Pip is also needed (comes with Python installation)
Links (just in case):
Run the server
- open a terminal
- go to the Python exercise directory
- run [pip][pip3] install virtualenvto install it. It is used to create isolated Python environments
- run virtualenv venvto create the venv environment
- Activate virtual environment:
    - On Windows run venv\Scripts\activate.bat(deactivate.batto deactivate the environment).
- On Linux run source env/bin/activate(deactivateto deactivate the environment)
 
- On Windows run 
- run [pip][pip3] install -r requirements.txtto install the needes packages if you didn’t before
- run uvicorn app:appto start the GraphQL server (uvicorn [file_name}:[app_name])
GraphQL Playground
Open your browser and type http://localhost:8000/ to display the GraphQL playground so you can run the queries against the server