Backend and frontend testing stacks (pytest + vitest) and a few initial tests.

This commit is contained in:
2026-02-27 16:03:06 +03:00
parent 46af911a06
commit be2590d7f7
10 changed files with 104 additions and 2 deletions
+9
View File
@@ -9,6 +9,7 @@ Location: `backend/`
### Setup
1. Create a virtualenv and install dependencies.
- `pip install -r backend/requirements.txt -r backend/requirements-dev.txt`
2. Copy `backend/.env.example` to `backend/.env` and adjust values.
3. Run migrations and start the server.
@@ -18,6 +19,10 @@ After migrations, you can seed demo data:
- `python manage.py seed_demo`
### Tests
- `pytest`
### Core API endpoints (current scaffold)
- `POST /api/auth/register/`
@@ -47,6 +52,10 @@ Location: `frontend/`
1. Install dependencies via `npm install`.
2. Run `npm run dev`.
### Tests
- `npm run test`
The dev server proxies `/api` to `http://localhost:8000`.
## Project Notes