Spring Boot project structure — package-by-feature, record DTOs, Flyway migrations, multi-profile config, actuator, proper test structure
84
76%
Does it follow best practices?
Impact
97%
4.04xAverage score across 5 eval scenarios
Passed
No known issues
Build a Spring Boot REST API for user registration and profile management. Use Spring Boot 3 and Java 17+.
Domain concepts:
Endpoints:
POST /api/auth/register -- register a new user (email, displayName, password). Email must be unique. Password must be at least 8 characters.POST /api/auth/login -- authenticate user (email, password), return a success responseGET /api/users/:id/profile -- get user profile (public info only: displayName, bio, avatarUrl, location)PUT /api/users/:id/profile -- update profile (bio, avatarUrl, location, website)GET /api/admin/users -- list all users (admin only, includes email and role but not passwordHash)Business rules:
Use PostgreSQL for the database.
Produce a complete Spring Boot project with:
pom.xml with dependenciesYou may create additional files as needed.
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
skills
springboot-project-structure
verifiers