Crisis preparedness and response in one place: maps, shelters, news, households, and resources. Built for before, during, and after a crisis—in line with the product owners’ vision to raise household readiness and bring scattered services together.
Student project in IDATT2106 (NTNU): three weeks, two implementation sprints and one documentation sprint. Lower-priority user stories may be partial or omitted.
Disclaimer: The core of this project was developed during the three-week project period in spring 2025. Since then, additional improvements have been made in the form of debugging, testing, and general polish.
- Vision (PDF): Visjonsdokument 2025 (final)
- Traceability in the app: open Emne, krav og teknologi at
/emne-og-teknologiwhen the frontend is running (e.g.http://localhost:5173/emne-og-teknologi).
Feedback: kontakt@krisefikser.app
Frontend: Vue 3.5, TypeScript, Vite 6, Pinia, TanStack Vue Query, Tailwind 4, Reka UI, Lucide, Leaflet / Vue Leaflet, Axios, Orval, VeeValidate, Zod, WebSocket/STOMP where enabled. Package manager: pnpm 10.
Backend: Java 21, Spring Boot 3.4 (Web, JPA, Security, Validation, WebSocket), REST + JPA, JWT, SpringDoc OpenAPI. MySQL in dev/prod-style setups, H2 in tests. JaCoCo line coverage gate ≥80% on mvn verify.
Quality & CI: Vitest, Cypress (incl. fullstack specs where configured), a11y checks in pipeline, GitHub Actions — see .github/workflows/ci.yml (runs on main / develop, PRs, nightly cron, and manual dispatch).
Node 18+, pnpm 10+, JDK 21, Docker (Compose), Maven (or use the Maven wrapper in backend/).
-
Clone
git clone https://github.com/idatt2106-v25-02/krisefikser.git cd krisefikser -
Database
docker-compose up -d
-
Backend (from
backend/, default port 8080)cd backend ./mvnw spring-boot:runOn Windows CMD, use
mvnw.cmd spring-boot:runif./mvnwis not available. -
Frontend (from
frontend/, default 5173)cd frontend pnpm install pnpm dev -
Open http://localhost:5173. API docs: http://localhost:8080/swagger-ui.html when the backend is up.
Copy examples and fill in values: backend/.env.example, frontend/.env.example (Turnstile, Mailtrap, URLs, etc.).
- Backend:
cd backend && ./mvnw test(verify with JaCoCo:./mvnw verify) - Frontend:
cd frontend && pnpm test:unit·pnpm test:e2e(Cypress against preview; seepackage.jsonfor fullstack variants)
IDATT2106, NTNU: