From the server folder:
python3 -m venv venv
source venv/bin/activate
pip install fastapi sqlalchemy python-dotenv bcrypt pyjwt cloudinary
fastapi run main.pyOptional (only if you see a Postgres driver error):
pip install psycopg2-binaryFor dev reload (optional):
fastapi dev main.pyEnvironment variables live in server/.env:
DATABASE_URL=postgresql://<user>@<host>:<port>/<db>
SECRET_KEY=<random-secret>
CLOUDINARY_CLOUD_NAME=<cloudinary-name>
CLOUDINARY_API_KEY=<cloudinary-key>
CLOUDINARY_API_SECRET=<cloudinary-secret>
From the client folder:
flutter pub get
flutter runWeb run (optional):
flutter run -d chromeFrom the client folder:
dart run build_runner build --delete-conflicting-outputsWatch mode:
dart run build_runner watch --delete-conflicting-outputs