No Smoking Diary
BACKEND : Python Fastapi (Web Framework) & Sqlalchemy (ORM) & JWT
FRONTEND : React
Setup & Run Backend
- Install python (>=v3.8)
- pip install poetry
- cd backend
- poetry install
- poetry run python prestart.py
- poetry run ./run.sh [UNIX]
- poetry run python app/main.py [WINDOWS]
- Open http://localhost:8181/
- Open http://localhost:8181/docs
Setup & Run Frontend (requires backend to be running)
- Install nodejs (>=v14) & npm
- cd frontend
- npm install
- npm start
- Open http://localhost:3000/
REFERENCE : ChristopherGS / ultimate-fastapi-tutorial
https://github.com/ChristopherGS/ultimate-fastapi-tutorial