portfolio / disaster-relief
Disaster Relief Management System
A Spring Boot and React web application my team built in a graduate software engineering course at the University of Iowa.
- Built with
- Java, Spring Boot, Spring Data JPA, Hibernate, React, MySQL
- Build and CI
- Gradle, Webpack, JUnit 5, GitLab CI
- When
- Spring 2020
The brief
After a flood or a tornado, people who need help and people who want to give it have trouble finding each other. The course gave every team the same brief: design a system where people at a disaster site can request help, donors and volunteers can answer or pledge, and a call center connects them, with requests matched to nearby help.
We worked the way the course required: Scrum iterations with a plan, requirements, a design and automated tests due at each one, and a progress report every week.
How it's built
React front end fetches JSON from the API
│
Spring Boot REST API controllers for user accounts
│
Spring Data JPA repositories, entities mapped by Hibernate
│
MySQL
- One build. Gradle compiles the Java and also runs Webpack, so a single command produces the server with the React app bundled inside it.
- REST API. Spring controllers expose user records as JSON, backed by a JPA repository. Hibernate creates and updates the tables from the entity classes.
- Tests and pipeline. JUnit 5 tests use Spring's MockMvc to call the API, and a GitLab CI pipeline builds and tests every push.
The repository is a re-upload of the course project from 2020. It covers the first iterations: the environment, the user model and the API.