{"id":15805215,"url":"https://github.com/ddobrin/spring-mysql-jpa","last_synced_at":"2025-07-21T07:33:20.156Z","repository":{"id":134175920,"uuid":"354970230","full_name":"ddobrin/spring-mysql-jpa","owner":"ddobrin","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-05T21:01:12.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-06T02:05:37.610Z","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/ddobrin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-04-05T20:55:21.000Z","updated_at":"2021-04-05T21:01:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4db020b-7fc2-4209-b8f8-4bd46e732662","html_url":"https://github.com/ddobrin/spring-mysql-jpa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ddobrin/spring-mysql-jpa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddobrin%2Fspring-mysql-jpa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddobrin%2Fspring-mysql-jpa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddobrin%2Fspring-mysql-jpa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddobrin%2Fspring-mysql-jpa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddobrin","download_url":"https://codeload.github.com/ddobrin/spring-mysql-jpa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddobrin%2Fspring-mysql-jpa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266261307,"owners_count":23901288,"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-05T02:05:05.728Z","updated_at":"2025-07-21T07:33:15.147Z","avatar_url":"https://github.com/ddobrin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nThis is a Spring Boot application that accesses a MySql Database.  The data model is a `User` that has an id, name and email address.  There is one controller with two endpoints:\n\n* `/demo/all` - lists all users  (GET REQUEST)\n* `/demo/add` - add a user (POST REQUEST)\n\n# Build and run\n\nTo build the uberjar execute\n```\n./mvnw clean package \n```\nAnd run using `java -jar ./target/accessing-data-mysql-0.0.1-SNAPSHOT.jar`\n\n# Using\n\nTo view the users\n```\ncurl 'localhost:8080/demo/all'\n```\n\nTo add a user\n```\ncurl -X POST localhost:8080/demo/add -d name=First -d email=someemail@someemailprovider.com\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddobrin%2Fspring-mysql-jpa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddobrin%2Fspring-mysql-jpa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddobrin%2Fspring-mysql-jpa/lists"}