Last weird branch commit
This commit is contained in:
24
README.md
24
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user