You can find the project source code on GitHub.
Install FastAPI and upstash-redis
.
Create a Redis database using Upstash Console or Upstash CLI and export the UPSTASH_REDIS_REST_URL
and UPSTASH_REDIS_REST_TOKEN
to your environment.
Create main.py
:
Run the app locally with fastapi dev main.py
, check http://127.0.0.1:8000/
You can find the project source code on GitHub.
Install FastAPI and upstash-redis
.
Create a Redis database using Upstash Console or Upstash CLI and export the UPSTASH_REDIS_REST_URL
and UPSTASH_REDIS_REST_TOKEN
to your environment.
Create main.py
:
Run the app locally with fastapi dev main.py
, check http://127.0.0.1:8000/