Spring Break Voting API
API, 2026
My friends couldn't agree on where to go for spring break, so everyone voted through an API instead of the group chat.
The story
My friends and I couldn't agree on where to go for spring break, so I had everyone submit a ranked top three through an API instead of arguing in the group chat. It's Java 21 and Spring Boot: you can register, add destinations, vote once (that part is enforced), change your mind and resubmit, and filter destinations by region. It runs on an EC2 instance with in-memory storage for now, and the data is modeled so Postgres and JPA can drop in when it needs to save anything.
What I learned
- One vote per person sounds simple until you write it, and it ended up being the only rule in the whole API that actually needed to be locked down.
- Letting people change their vote mattered more than locking it, because everyone's opinion kept moving all week.
- I modeled the data for Postgres even though it runs in memory, so adding a real database later is a swap instead of a rewrite.
- Spring Boot is a lot of framework for a group of friends picking a beach, and I used it anyway because learning it was the point.
What it’s built with
API
- Java 21
- Spring Boot 4
- Maven
Server
- AWS EC2
- In-memory storage
- UUID IDs
Testing
- Postman
- REST
If you want the longer version of this one, email me.
Next projectGame, 2026