esu nyan?
- API: Rust HTTP API with OpenAPI/Swagger, backed by PostgreSQL.
- Worker: Rust crawler that discovers Ukrainian mappers and refreshes cached data.
- Copy
.env.exampleto.envand fill in values (minimum:OSU_CLIENT_ID,OSU_CLIENT_SECRET,POSTGRES_PASSWORD). - Start Postgres + API:
just up- API:
http://localhost:8080 - Swagger UI:
http://localhost:8080/swagger-ui - OpenAPI JSON:
http://localhost:8080/api-docs/openapi.json
- Apply DB schema:
just migrate
- Run the worker manually (not auto-started by default):
just worker-runjust worker-logsjust worker-stop
Prereqs:
- PostgreSQL running locally
psqlavailable on PATH
- Copy
.env.exampleto.envand set:POSTGRES_HOST=localhostPOSTGRES_PORT=5432POSTGRES_USER=...POSTGRES_PASSWORD=...POSTGRES_DB=uamappers
- Apply DB schema:
just migrate-local
- Run API:
just api-run- Swagger UI:
http://localhost:8080/swagger-ui
- Run worker (foreground):
just worker-run-local
Apache License 2.0. See LICENSE and NOTICE.