This commit is contained in:
2026-06-14 13:19:39 +03:00
parent 4a3db42971
commit 19fff3a92f
152 changed files with 10908 additions and 8276 deletions
+37 -1
View File
@@ -1 +1,37 @@
# readme
# Cymelle
## Local Docker Compose
Run the full local development stack with Postgres 18, Spring Boot API, and TanStack/Vite web app:
```sh
cp .env.example .env
docker compose up
```
Services:
- Web: `http://localhost:3000`
- API: `http://localhost:8080/api`
- Swagger UI: `http://localhost:8080/swagger-ui.html`
- Postgres: `localhost:5432`, database/user/password `cymelle`
Paystack checkout requires test keys in `.env`:
```sh
PAYSTACK_SECRET_KEY=sk_test_...
PAYSTACK_PUBLIC_KEY=pk_test_...
PAYSTACK_CALLBACK_URL=http://localhost:3000/payments/paystack/callback
```
Useful commands:
```sh
docker compose logs -f api
docker compose logs -f web
docker compose restart api
docker compose down
docker compose down -v
```
The web service runs Vite from mounted source, so frontend edits reload without rebuilding. Restart `api` after backend code changes. Use `docker compose down -v` only when you want to delete the local Postgres and dependency cache volumes.