KO
|
EN
gitlite β search
Search
#python
#docker
#golang
#javascript
#hacktoberfest
#nodejs
#machine-learning
#css
#flutter
#java
#node
#deep-learning
fast_login_db
β 229
Open GitHub β
Fast Register and Login
Download README (.md)
Explore Similar Repositories
scores
:
scores: Metrics for the verification, evaluation and optimisation of forecasts, predictions or models.
data-analysis-using-python
:
Exploratory data analysis πusing python πof used car π database taken from βπππππ
argocd-hub-spoke-demo
:
Deploy resources to multiple kubernetes clusters using Argo CD.
CombineFirebase
:
Combine wrapper on Google's iOS Firebase library.
eqrcode
:
Simple QRCode Generator in Elixir
// repository documentation
Was this content helpful?
β 0
(0 ratings)
Select Rating:
β
β
β
β
β
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
fast_login_db
?
Download (.md)
# fast_login_db ## Architecture - Nuxt is the only browser-facing service and proxies same-origin `/api/**` requests. - FastAPI owns validation, password hashing, users, and server-side sessions. - PostgreSQL stores users and hashed session tokens. - Authentication uses an HttpOnly, SameSite cookie. Tokens are never exposed to frontend code. ## Start with Docker ```sh docker compose up -d --build ``` Open: - App: http://127.0.0.1:3000 - OpenAPI: http://127.0.0.1:8000/docs The `migrate` service applies Alembic migrations before the backend starts. Existing databases created by the previous version are detected by the baseline migration and upgraded without dropping users. ## Local development Requires Python 3.10+, uv, and Node 24. The frontend includes an `.nvmrc`. ```sh make setup make migrate ``` Run the services in separate terminals: ```sh cd backend && uv run uvicorn app.main:app --reload cd frontend && npm run dev ``` Set `NUXT_API_BASE_URL=http://127.0.0.1:8000` when the frontend cannot use the default. ## Quality checks ```sh make check ``` This runs backend lint and API tests plus frontend lint, type checking, unit tests, and a production build. Copy `.env.example` to `.env` only when you need to override defaults. In HTTPS production, set `SESSION_COOKIE_SECURE=true`.