{"id":14982983,"url":"https://github.com/callicoder/spring-boot-mysql-rest-api-tutorial","last_synced_at":"2025-04-12T23:42:48.811Z","repository":{"id":41117532,"uuid":"95561550","full_name":"callicoder/spring-boot-mysql-rest-api-tutorial","owner":"callicoder","description":"Building a Restful CRUD API using Spring Boot, Mysql, JPA and Hibernate","archived":false,"fork":false,"pushed_at":"2024-05-06T07:35:36.000Z","size":60,"stargazers_count":431,"open_issues_count":11,"forks_count":440,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-12T23:42:45.434Z","etag":null,"topics":["crud-api","hibernate","jpa","mysql","rest-api","spring","spring-data-jpa","spring-mvc","tutorial"],"latest_commit_sha":null,"homepage":"https://www.callicoder.com/spring-boot-rest-api-tutorial-with-mysql-jpa-hibernate/","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/callicoder.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":"2017-06-27T13:31:50.000Z","updated_at":"2025-04-05T16:48:31.000Z","dependencies_parsed_at":"2022-08-10T01:35:36.200Z","dependency_job_id":"21bfe4a8-c613-44c1-be5e-84c6a1887949","html_url":"https://github.com/callicoder/spring-boot-mysql-rest-api-tutorial","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.10526315789473684","last_synced_commit":"842e64455ce9bc2dee07299c4acaf748e165de9c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callicoder%2Fspring-boot-mysql-rest-api-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callicoder%2Fspring-boot-mysql-rest-api-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callicoder%2Fspring-boot-mysql-rest-api-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callicoder%2Fspring-boot-mysql-rest-api-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/callicoder","download_url":"https://codeload.github.com/callicoder/spring-boot-mysql-rest-api-tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647256,"owners_count":21139081,"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":["crud-api","hibernate","jpa","mysql","rest-api","spring","spring-data-jpa","spring-mvc","tutorial"],"created_at":"2024-09-24T14:06:32.200Z","updated_at":"2025-04-12T23:42:48.784Z","avatar_url":"https://github.com/callicoder.png","language":"Java","readme":"# Spring Boot, MySQL, JPA, Hibernate Rest API Tutorial\n\nBuild Restful CRUD API for a simple Note-Taking 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**\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/notes\n    \n    POST /api/notes\n    \n    GET /api/notes/{noteId}\n    \n    PUT /api/notes/{noteId}\n    \n    DELETE /api/notes/{noteId}\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 my blog -\n\n\u003chttps://www.callicoder.com/spring-boot-rest-api-tutorial-with-mysql-jpa-hibernate/\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallicoder%2Fspring-boot-mysql-rest-api-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcallicoder%2Fspring-boot-mysql-rest-api-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallicoder%2Fspring-boot-mysql-rest-api-tutorial/lists"}