{"id":16514036,"url":"https://github.com/naturalprogrammer/np-spring-mvc-demo","last_synced_at":"2025-10-28T04:32:24.800Z","repository":{"id":86284032,"uuid":"588419830","full_name":"naturalprogrammer/np-spring-mvc-demo","owner":"naturalprogrammer","description":"Spring Boot MVC (non-reactive) real-world demo application","archived":false,"fork":false,"pushed_at":"2023-12-07T17:13:59.000Z","size":374,"stargazers_count":14,"open_issues_count":3,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T11:34:42.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naturalprogrammer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-13T04:16:11.000Z","updated_at":"2024-09-09T12:33:43.000Z","dependencies_parsed_at":"2023-03-13T09:27:18.378Z","dependency_job_id":"f948e570-5cdf-4d80-b412-e4821d7c95c5","html_url":"https://github.com/naturalprogrammer/np-spring-mvc-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naturalprogrammer%2Fnp-spring-mvc-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naturalprogrammer%2Fnp-spring-mvc-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naturalprogrammer%2Fnp-spring-mvc-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naturalprogrammer%2Fnp-spring-mvc-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naturalprogrammer","download_url":"https://codeload.github.com/naturalprogrammer/np-spring-mvc-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238597386,"owners_count":19498396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T16:11:13.437Z","updated_at":"2025-10-28T04:32:24.419Z","avatar_url":"https://github.com/naturalprogrammer.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Demo Project for developing real-world stateless REST APIs using Spring Boot 3.x (successor\nof [Spring Lemon](https://github.com/naturalprogrammer/spring-lemon)). Depicts the following:\n\n1. Using a stateless security model, using JWT authentication\n2. Using JWE tokens for email verification, forgot password etc.\n3. Configuring Spring Security to suit stateless API development\n4. Supporting multiple social sign up/in, using OpenID Connect or OAuth2 providers such as Google and Facebook, *in a\n   stateless manner*\n5. Coding a robust user module with features including sign up/in, verify email, social sign up/in, update profile,\n   forgot password, change password, change email, resource/access token creation etc.\n6. Testing best practices\n7. Elegant functional\n   programming [using Optional and Either](https://dzone.com/articles/the-beauty-of-java-optional-and-either)\n8. Using [specific media types](https://medium.com/@naturalprogrammer/why-and-how-to-use-specific-media-types-instead-of-application-json-36e91efe167b)\ninstead of application/json\n9. Complying to https://www.rfc-editor.org/rfc/rfc7807 for HTTP error responses\n10. *How to **not** use exception handling for validation and business rules*: We all know that\n    using [exceptions for foreseen cases](https://reflectoring.io/business-exceptions/) is bad. Still, most of us\n    use `@Valid` for validations, as well\n    as throw BusinessExceptions, and then handle the exceptions in a controller advice. In this project, you'd see an\n    elegant way to avoid exceptions -- by using `Optional`, `Either` and functional programming.\n11. OpenApi documentation auto generation\n12. Java packaging strategy for modulith applications\n13. GitHub Actions CI/CD pipelines for Azure WebApp and DigitalOcean App Platform deployments \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaturalprogrammer%2Fnp-spring-mvc-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaturalprogrammer%2Fnp-spring-mvc-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaturalprogrammer%2Fnp-spring-mvc-demo/lists"}