/groceries-plugin

FastAPI & Redis databse

Primary LanguagePython

Fast API & Redis

Usage

Start FastAPI

  • Press F5 to on Debug Mode > Choose Fast API

Starting and stopping Redis using launchd

  • Start: brew services start redis
  • Stop: brew services stop redis

Flushing DB

  • Then when you want to reset the database, you can open the flushdb.py file in VS Code and select the Run button on the top-right corner of the editor, or run the Python: Run Python File in Terminal command from the Command Palette.

Resources