docs: fix DX for new contributors
Some checks failed
test / unit (push) Has been cancelled
lint / lint (push) Has been cancelled

- Fix port mismatch: Dockerfile EXPOSE 8000, .env.example PORT=8000,
  compose.yml gets explicit PORT=8000
- Add thoughts-frontend/.env.example with all required vars
- Document NEXT_PUBLIC_FEDIVERSE_DOMAIN in README
- Document private cargo registry (k-ap on Gitea)
- Add local dev workflow: make dev-infra → cargo run → bun dev
- Split make targets: test-unit (no DB), test-integration, up
This commit is contained in:
2026-05-29 14:27:42 +02:00
parent 6d0b1a3121
commit 0b74344efe
7 changed files with 84 additions and 11 deletions

View File

@@ -0,0 +1,6 @@
# API endpoints
NEXT_PUBLIC_API_URL=http://localhost:8000 # client-side (browser) requests
NEXT_PUBLIC_SERVER_SIDE_API_URL=http://localhost:8000 # SSR requests (use http://api:8000 inside Docker)
# Fediverse handle display (optional)
# NEXT_PUBLIC_FEDIVERSE_DOMAIN=yourinstance.example.com

View File

@@ -32,6 +32,7 @@ yarn-error.log*
# env files (can opt-in for committing if needed)
.env*
!.env.example
# vercel
.vercel