finds.dev← search

// the find

jojoldu/freelec-springboot2-webservice

★ 1,067 · Java · updated Apr 2023

Sample code for a Korean-language Spring Boot 2 book covering web service deployment on AWS with OAuth2 login, JPA, and blue-green deployments via CodeDeploy. It is companion material for a specific printed book, not a standalone starter or template. The README explicitly warns that the app will not run without OAuth credentials.

The blue-green deployment scripts (start/stop/switch/health) are a practical, self-contained example of zero-downtime deploys on EC2 without a load balancer — worth reading even if you ignore the rest. OAuth2 social login with Google and Naver is wired up end-to-end including a custom ArgumentResolver for session-bound user injection. The test suite covers the repository layer, API controllers, and profile switching, which is more than most book samples bother with. Travis CI + CodeDeploy integration is fully scripted, so the CI/CD path is actually traceable.

Frozen at Java 8 and Spring Boot 2.1.x — the README actively instructs you to downgrade Gradle from 5 to 4.10.2, which is not a minor caveat in 2024. The app cannot run at all without OAuth tokens that aren't included, so there's no quick feedback loop for someone just trying to follow along. All content is in Korean with no English translation, which cuts the potential audience sharply. The domain model is a toy blog with a single Posts entity — nothing here generalises to a real service architecture.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →