{"id":21901055,"url":"https://github.com/naspredam/rest-spring-boot-java-users","last_synced_at":"2026-04-11T14:02:42.635Z","repository":{"id":263126688,"uuid":"265711567","full_name":"naspredam/rest-spring-boot-java-users","owner":"naspredam","description":"service that have /users resource to have a CRUD","archived":false,"fork":false,"pushed_at":"2020-11-04T00:31:39.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-10T03:51:01.926Z","etag":null,"topics":["database","docker","java","mysql","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/naspredam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-20T23:57:00.000Z","updated_at":"2020-11-04T00:31:41.000Z","dependencies_parsed_at":"2024-11-20T11:04:18.583Z","dependency_job_id":null,"html_url":"https://github.com/naspredam/rest-spring-boot-java-users","commit_stats":null,"previous_names":["naspredam/rest-spring-boot-java-users"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/naspredam/rest-spring-boot-java-users","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naspredam%2Frest-spring-boot-java-users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naspredam%2Frest-spring-boot-java-users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naspredam%2Frest-spring-boot-java-users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naspredam%2Frest-spring-boot-java-users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naspredam","download_url":"https://codeload.github.com/naspredam/rest-spring-boot-java-users/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naspredam%2Frest-spring-boot-java-users/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265738588,"owners_count":23820167,"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":["database","docker","java","mysql","spring-boot"],"created_at":"2024-11-28T15:12:06.785Z","updated_at":"2025-12-30T21:07:21.200Z","avatar_url":"https://github.com/naspredam.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple REST api in Java (String-boot / not reactive)\n\nThis project has as objective to have a rest api build on:\n\n- Gradle\n- Java 14\n- Spring boot 2.3.0-RELEASE\n- MySQL (8.0.20)\n\nUsing standard rest/web spring-boot strategy, non-reactive.\n \nWe will use SQL with JPA. We will use MySQL as database.\n\n## What the rest api will stand for?\n\nThe rest will have the resource:\n\n```\n/users\n```\n\nWhere the endpoints exposed are:\n\n| Method | Endpoint | Description  |\n| ---    |:------- |:-----|\n|GET| /users | Get all the users |\n|POST| /users | Create a new user |\n|GET| /users/{user_id} | Get specific user data |\n|DELETE| /users/{user_id} | Delete specific user data |\n\n## Run application\n\nThis project has been set to run under docker.\n\nTo run the application the `Makefile` has been set to:\n\n- start: to start the application in docker\n- stop: stop and drop the containers\n- restart: does stop and start\n- logs: display the logs of the deployed docker containers\n\nSo, the `start` action will do:\n\n- gradle build the project to generate the jar\n- docker build the image, based on the jar generated on the previous step\n- start database and the application, which a dependency from application to the database start, to wait until the database is up and ready for the application\n\nThe `stop` action will do:\n\n- stop the application and database\n- destroy the container s for the application and the database\n\n### Out-of-scope\n\nIt was got out of scope any software to create the database structure, out from mysql setup.\n\nThis is to keep this app simple, to not get deeper on other solutions outside of the endpoint exposures.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaspredam%2Frest-spring-boot-java-users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaspredam%2Frest-spring-boot-java-users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaspredam%2Frest-spring-boot-java-users/lists"}