Last weird branch commit
Some checks failed
CI / backend-tests (pull_request) Failing after 1m16s
CI / frontend-tests (pull_request) Successful in 28s

This commit is contained in:
2026-03-20 22:11:39 +01:00
parent 2364922b58
commit 3d362a8314
10 changed files with 141 additions and 36 deletions

View File

@@ -14,15 +14,29 @@ A full-stack Nuzlocke run tracker for Pokemon games.
docker compose up
```
This starts three services:
This starts four services:
| Service | URL |
|------------|--------------------------|
| Service | URL |
|------------|---------------------------|
| Frontend | http://localhost:5173 |
| API | http://localhost:8000 |
| API Docs | http://localhost:8000/docs|
| API | http://localhost:8080 |
| API Docs | http://localhost:8080/docs|
| GoTrue | http://localhost:9999 |
| PostgreSQL | localhost:5432 |
### Local Authentication
The stack includes a local GoTrue container for auth testing. Email/password signup and login work out of the box with auto-confirmation (no email verification needed).
**OAuth providers (Google, Discord) are disabled in local dev.** The login/signup pages show OAuth buttons as disabled with a tooltip explaining this. For OAuth testing, deploy to an environment with Supabase cloud configured.
The local JWT secret and anon key are pre-configured in `.env.example` and `docker-compose.yml`. Copy `.env.example` to `.env` before starting:
```bash
cp .env.example .env
docker compose up
```
### Run Migrations
```bash