A full-stack web application for tracking and managing allergy exposures. Monitor your allergy symptoms, record exposure incidents, and analyze patterns over time to better understand and manage your allergies.
-
Create a PostgreSQL database:
createdb your_database_name
-
Create a
.envfile in the project root (copy from.env.example):cp .env.example .env
-
Update the
.envfile with your local PostgreSQL credentials:SPRING_DATASOURCE_URL=jdbc:postgresql://localhost:5432/your_database_name SPRING_DATASOURCE_USERNAME=your_username SPRING_DATASOURCE_PASSWORD=your_password
-
Navigate to the project root directory:
cd allergy-tracker -
Run the Spring Boot application:
./gradlew bootRun
The backend API will be available at
http://localhost:8080
-
Navigate to the UI directory:
cd allergy-tracker-ui -
Install dependencies:
npm install
-
Start the development server:
npm run dev
The frontend will be available at
http://localhost:5173
To run the frontend with mock data (no backend required):
cd allergy-tracker-ui
npm run dev:mockBackend tests:
./gradlew testFrontend tests:
cd allergy-tracker-ui
npm test- Java 21
- Spring Boot
- Spring Data JPA
- PostgreSQL
- Lombok
- Gradle
- JUnit & H2
- React
- TypeScript
- Vite
- Material-UI (MUI)
- React Router
- TanStack Query
- Axios
- Day.js
- MUI X Charts
- MSW (Mock Service Worker)
- Vitest
- ESLint & Prettier
