{"id":21012267,"url":"https://github.com/codebanesr/springservice-mysql","last_synced_at":"2025-06-30T01:32:48.714Z","repository":{"id":120253992,"uuid":"145407272","full_name":"codebanesr/SpringService-Mysql","owner":"codebanesr","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-20T11:52:16.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T16:16:29.377Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codebanesr.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}},"created_at":"2018-08-20T11:13:56.000Z","updated_at":"2018-08-20T11:52:17.000Z","dependencies_parsed_at":"2023-07-27T07:45:44.408Z","dependency_job_id":null,"html_url":"https://github.com/codebanesr/SpringService-Mysql","commit_stats":null,"previous_names":["codebanesr/springservice-mysql"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codebanesr/SpringService-Mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebanesr%2FSpringService-Mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebanesr%2FSpringService-Mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebanesr%2FSpringService-Mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebanesr%2FSpringService-Mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codebanesr","download_url":"https://codeload.github.com/codebanesr/SpringService-Mysql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebanesr%2FSpringService-Mysql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262693291,"owners_count":23349710,"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-11-19T09:36:00.824Z","updated_at":"2025-06-30T01:32:48.684Z","avatar_url":"https://github.com/codebanesr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot, MySQL, JPA, Hibernate Rest API Tutorial\n\nBuild Restful CRUD API for a simple Product-Registration application using Spring Boot, Mysql, JPA and Hibernate.\n\n## Requirements\n\n1. Java - 1.8.x\n\n2. Maven - 3.x.x\n\n3. Mysql - 5.x.x\n\n## Steps to Setup\n\n**1. Clone the application**\nI just manipulated some methods to work according to my needs, original tutorial is at : \n\n```bash\ngit clone https://github.com/callicoder/spring-boot-mysql-rest-api-tutorial.git\n```\n\n**2. Create Mysql database**\n```bash\ncreate database notes_app\n```\n\n**3. Change mysql username and password as per your installation**\n\n+ open `src/main/resources/application.properties`\n\n+ change `spring.datasource.username` and `spring.datasource.password` as per your mysql installation\n\n**4. Build and run the app using maven**\n\n```bash\nmvn package\njava -jar target/easy-notes-1.0.0.jar\n```\n\nAlternatively, you can run the app without packaging it using -\n\n```bash\nmvn spring-boot:run\n```\n\nThe app will start running at \u003chttp://localhost:8080\u003e.\n\n## Explore Rest APIs\n\nThe app defines following CRUD APIs.\n\n    GET /api/products\n    \n    POST /api/product\n    \n    GET /api/products/{productId}\n    \n    PUT /api/notes/{productId}\n    \n    DELETE /api/notes/{productId}\n\nYou can test them using postman or any other rest client.\n\n## Learn more\n\nYou can find the tutorial for this application on the blog -\n\n\u003chttps://www.callicoder.com/spring-boot-rest-api-tutorial-with-mysql-jpa-hibernate/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebanesr%2Fspringservice-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebanesr%2Fspringservice-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebanesr%2Fspringservice-mysql/lists"}