Nice boilerplate. Thanks for this.
However it does not work as provided. Environment variables missing - project won't start.
I tried setting it up with some sane defaults, but still then the project wont load.
export HOST_HTTP="http://localhost"
export HOST_URL="/graph"
export HOST_PORT=8000
export POSTGRES_USER="postgres"
export POSTGRES_PASSWORD=""
export POSTGRES_SERVER="127.0.0.1"
export POSTGRES_PORT=5432
export POSTGRES_DB="fastapi_strawberry"
You get the error ERROR: [Errno 8] nodename nor servname provided, or not known
Nice boilerplate. Thanks for this.
However it does not work as provided. Environment variables missing - project won't start.
I tried setting it up with some sane defaults, but still then the project wont load.
export HOST_HTTP="http://localhost"
export HOST_URL="/graph"
export HOST_PORT=8000
export POSTGRES_USER="postgres"
export POSTGRES_PASSWORD=""
export POSTGRES_SERVER="127.0.0.1"
export POSTGRES_PORT=5432
export POSTGRES_DB="fastapi_strawberry"
You get the error ERROR: [Errno 8] nodename nor servname provided, or not known