Rewrite README and add docs for advertising, Redis and image storage

README described Spring Boot 3.2.5/Java 21, an open /api/v1/test, the removed
MapCacheService and a single smoke test. It now matches the code: setup,
environment variables, architecture, packages, security rules, API, WebSocket
topics, post lifecycle, errors, tests, deploy and known limitations.

docs/advertising.md, docs/redis.md and docs/images-storage.md describe the
subsystems with references to the classes. .env.example lists the remaining
optional variables.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
SlimusMinus
2026-10-20 01:15:37 +03:00
parent 7b81c18614
commit 83270a8ece
5 changed files with 1297 additions and 1505 deletions

View File

@@ -32,6 +32,14 @@ JWT_SECRET=
# MINIO_ADS_BUCKET=ads-media
# MINIO_REGION=us-east-1
# AI_SERVICE_URL=http://localhost:8000
# AI_IMAGE_TIMEOUT=30
# AI_TEXT_MAX_LENGTH=5000
# FFMPEG_PATH=ffmpeg
# DB_URL=jdbc:postgresql://localhost:5432/nahodka
# DB_USER=user
# DB_PASSWORD=pass
# CORS_ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000
# JWT_ACCESS_EXPIRATION=900000
# JWT_REFRESH_EXPIRATION=604800000
# JPA_DDL_AUTO=validate
# JPA_SHOW_SQL=false