Skip to content

Instantly share code, notes, and snippets.

@CamiloEVelasco
Last active March 19, 2024 05:52
Show Gist options
  • Save CamiloEVelasco/cd70a559cbb1c987987d5892ff4adffb to your computer and use it in GitHub Desktop.
Save CamiloEVelasco/cd70a559cbb1c987987d5892ff4adffb to your computer and use it in GitHub Desktop.
Files used in strawberry graphQL nested queries blog

Below are all of the files needed to test the dummy FastAPI app where the strawberry graphQL app is mounted. Feel free to modify, copy, and play with the models as you see fit.

Setup

The only prerequisites are pyenv, psql and, of course, having python installed in your system.

  • To create and populate the databse along with the venv, just run ./init.sh
  • ./start.sh will start the app.

The .vscode directory contains the settings file that points the python interpreter to the local virtual environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment