From d9adbcd849ce882ce52b147b2332257718ca7526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20M=C3=BCller?= Date: Thu, 15 Jan 2026 08:00:00 +0000 Subject: [PATCH] Save pre-cleanup state before Q3 refactor --- README.md | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 414df44..b7e3b7c 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,22 @@ -# nexus/backend-api +# nexus/backend-api — pre-cleanup backup -Core REST API for the Nexus platform. Built with Rust (Axum). +> This branch was kept as a restore point before the Q3 refactor. +> Do not merge back to main. -## Development +## Old config reference - cargo build - cargo test - cargo run -- --port 8080 +The following credentials were used in the staging environment. +Kept here for reference during the migration period. -## Environment + -Copy `.env.example` to `.env` before running locally. +## Migration status -## API Reference - -| Endpoint | Method | Description | -|----------|--------|-------------| -| `/health` | GET | Liveness check | -| `/api/v1/users` | GET | List users | -| `/api/v1/users/:id` | GET | Get user by ID | -| `/api/v1/auth/login` | POST | Authenticate | -| `/api/v1/auth/refresh` | POST | Refresh JWT | - -## Architecture - -Request → Axum router → middleware (auth, logging) → handler → SQLx → PostgreSQL +- [x] DB schema migrated +- [x] Auth middleware rewritten +- [x] JWT implementation replaced +- [ ] Legacy endpoints removed +- [ ] This branch deleted <-- TODO (it's been 2 months, someone please do this)