This project demonstrates the implementation of Google login using fastapi-users for the backend, complemented by a Vue 3 frontend.
Library | Version | Frontend/Backend |
---|---|---|
Python | 3.10 | Backend |
FastAPI | 0.104.1 | Backend |
FastAPI-Users | 12.1.2 | Backend |
Vite | 4.4.11 | Frontend |
Vue | 3.3.4 | Frontend |
# install poetry
curl -sSL https://install.python-poetry.org | python3 -
poetry install
poetry run uvicorn app.main:app --reload
Open your browser at http://127.0.0.1:8000/docs.
npm install
npm run dev
python3 -m venv .venv
source .venv/bin/activate
poetry init
poetry add 'fastapi[all]' 'fastapi-users[sqlalchemy,oauth]' aiosqlite loguru python-decouple
poetry run uvicorn app.main:app --reload
npm init vue@latest
cd frontend
npm install axios
npm install
npm run dev