Repository files navigation Personal Project to demonstrate full-stack capabilities using Python fastapi as backend and ReactJS as frontend
Runs the dev environment for backend
fastapi dev
Spins up virtual environment. Must be in project directory where venv file is located
venv/Scripts/activate
Outputs all installed dependencies and it's respective version into a file aka requirements.txt
pip freeze > requirements.txt
Creates an auto generated file for postgresql migrations
alembic revision --autogenerate -m <message>
Runs the upgrade command of the latest migration file for db changes
alembic upgrade head
Auto generates API Endpoints using openAPI
sta generate -p http://127.0.0.1:8000/openapi.json -n client.ts --axios
Starts up redis server
redis-server
Stops redis-server if running in background. May need to append sudo for admin rights
service redis-server stop
Spins up virtual environment
source .venv/bin/activate
Connects celery to flower
celery -A <task_worker_file> worker -E
Initializes the flower desktop
celery -A <task_worker_file> flower
About
Personal project that demonstrate a fullstack of Python + fastapi and React
Topics
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.