.PHONY: tier1-up tier1-down tier1-logs fe-unit e2e

tier1-up:
	docker compose -f testing/docker-compose.yml up --build -d

tier1-down:
	docker compose -f testing/docker-compose.yml down -v

tier1-logs:
	docker compose -f testing/docker-compose.yml logs -f

fe-unit:
	cd frontend && npm run test:run

e2e:
	cd e2e && BASE_URL=$${BASE_URL:-http://localhost:8080} MAILSINK_URL=$${MAILSINK_URL:-http://localhost:8025} npm run e2e
