Backend and frontend testing stacks (pytest + vitest) and a few initial tests.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user