with some tests
This commit is contained in:
parent
a764c92a0b
commit
0995e1cc77
18 changed files with 3020 additions and 16 deletions
25
Makefile
25
Makefile
|
|
@ -1,7 +1,7 @@
|
|||
.PHONY: install-backend install-frontend install backend frontend
|
||||
.PHONY: install-backend install-frontend install backend frontend db db-stop dev test test-frontend test-e2e
|
||||
|
||||
install-backend:
|
||||
cd backend && uv sync
|
||||
cd backend && uv sync --all-groups
|
||||
|
||||
install-frontend:
|
||||
cd frontend && npm install
|
||||
|
|
@ -14,3 +14,24 @@ backend:
|
|||
frontend:
|
||||
cd frontend && npm run dev
|
||||
|
||||
db:
|
||||
docker compose up -d db
|
||||
|
||||
db-stop:
|
||||
docker compose down
|
||||
|
||||
dev:
|
||||
$(MAKE) db
|
||||
cd backend && uv run uvicorn main:app --reload & \
|
||||
cd frontend && npm run dev & \
|
||||
wait
|
||||
|
||||
test-backend:
|
||||
cd backend && uv run pytest -v
|
||||
|
||||
test-frontend:
|
||||
cd frontend && npm run test
|
||||
|
||||
test-e2e:
|
||||
./scripts/e2e.sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue