All Projects → callicoder → Spring Boot Mysql Rest Api Tutorial

callicoder / Spring Boot Mysql Rest Api Tutorial

Building a Restful CRUD API using Spring Boot, Mysql, JPA and Hibernate

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Spring Boot Mysql Rest Api Tutorial

Spring Framework Petclinic
A Spring Framework application based on JSP, Spring MVC, Spring Data JPA, Hibernate and JDBC
Stars: ✭ 251 (-10.04%)
Mutual labels:  hibernate, jpa, spring-data-jpa, mysql, spring, spring-mvc
Kotlin Spring Boot Jpa Rest Api Demo
Build a Restful API with Kotlin, Spring Boot, Mysql, Jpa and Hibernate
Stars: ✭ 67 (-75.99%)
Mutual labels:  rest-api, hibernate, jpa, mysql, spring-mvc
Angularjs Springmvc Sample Boot
A RESTful sample using Spring Boot, Spring MVC, Spring Data and Angular/Bootstrap.
Stars: ✭ 309 (+10.75%)
Mutual labels:  hibernate, jpa, spring-data-jpa, spring, spring-mvc
Spring Petclinic Rest
REST version of the Spring Petclinic sample application
Stars: ✭ 257 (-7.89%)
Mutual labels:  rest-api, hibernate, spring-data-jpa, spring, spring-mvc
Java Course
Self paced course for Java Engineers
Stars: ✭ 103 (-63.08%)
Mutual labels:  rest-api, hibernate, spring-mvc, tutorial
Springbootunity
rabbitmq、redis、scheduled、socket、mongodb、Swagger2、spring data jpa、Thymeleaf、freemarker etc. (muti module spring boot project) (with spring boot framework,different bussiness scence with different technology。)
Stars: ✭ 845 (+202.87%)
Mutual labels:  hibernate, mysql, spring, spring-mvc
Curso Sistemas Web Com Spring Javascript Bootstrap
Stars: ✭ 74 (-73.48%)
Mutual labels:  hibernate, jpa, spring, spring-mvc
Tianti
java轻量级的CMS解决方案-天梯。天梯是一个用java相关技术搭建的后台CMS解决方案,用户可以结合自身业务进行相应扩展,同时提供了针对dao、service等的代码生成工具。技术选型:Spring Data JPA、Hibernate、Shiro、 Spring MVC、Layer、Mysql等。
Stars: ✭ 1,053 (+277.42%)
Mutual labels:  hibernate, spring-data-jpa, mysql, spring-mvc
Spring-Boot-2
Spring Boot 2.x examples
Stars: ✭ 33 (-88.17%)
Mutual labels:  jpa, hibernate, spring-mvc, spring-data-jpa
Spring Boot Demo
Spring Boot & Spring Cloud & Spring Security Demo Case(Spring学习示例实战项目)
Stars: ✭ 255 (-8.6%)
Mutual labels:  jpa, mysql, spring, spring-mvc
Spring Boot Postgresql Jpa Hibernate Rest Api Demo
Building RESTful APIs with Spring Boot, PostgreSQL, JPA and Hibernate
Stars: ✭ 209 (-25.09%)
Mutual labels:  rest-api, hibernate, jpa, spring
Spring Boot 2 Oauth2 Authorization Jwt
Spring Boot 2 OAuth2 JWT Authorization server implementation with Database for Users and Clients (JPA, Hibernate, MySQL)
Stars: ✭ 115 (-58.78%)
Mutual labels:  hibernate, jpa, mysql, spring
vogon-java
Vogon - A simple personal finance tracker using Spring Boot and AngularJS
Stars: ✭ 16 (-94.27%)
Mutual labels:  jpa, hibernate, spring-mvc, spring-data-jpa
Spring Boot Enterprise Application Development
Spring Boot Enterprise Application Development.《Spring Boot 企业级应用开发实战》
Stars: ✭ 261 (-6.45%)
Mutual labels:  hibernate, spring-data-jpa, mysql, spring-mvc
Jersey Jwt
Example of REST API with JWT authentication using Jersey, Jackson, Undertow, Weld, Hibernate and Arquillian.
Stars: ✭ 131 (-53.05%)
Mutual labels:  rest-api, hibernate, jpa
Gemini
Model Driven REST framework to automatically generate CRUD APIs
Stars: ✭ 138 (-50.54%)
Mutual labels:  rest-api, spring, spring-mvc
Hikaku
A library that tests if the implementation of a REST-API meets its specification.
Stars: ✭ 154 (-44.8%)
Mutual labels:  rest-api, spring, spring-mvc
Spring Boot Mongodb Angular Todo App
A Sample App built using Spring Boot, Angular and MongoDB
Stars: ✭ 84 (-69.89%)
Mutual labels:  rest-api, spring, tutorial
Javadevjournal
Source code for the tutorials published on the Javadevjournal site.
Stars: ✭ 141 (-49.46%)
Mutual labels:  rest-api, spring-data-jpa, spring-mvc
Event Driven Spring Boot
Example Application to demo various flavours of handling domain events in Spring Boot
Stars: ✭ 194 (-30.47%)
Mutual labels:  rest-api, spring-data-jpa, spring

Spring Boot, MySQL, JPA, Hibernate Rest API Tutorial

Build Restful CRUD API for a simple Note-Taking application using Spring Boot, Mysql, JPA and Hibernate.

Requirements

  1. Java - 1.8.x

  2. Maven - 3.x.x

  3. Mysql - 5.x.x

Steps to Setup

1. Clone the application

git clone https://github.com/callicoder/spring-boot-mysql-rest-api-tutorial.git

2. Create Mysql database

create database notes_app

3. Change mysql username and password as per your installation

  • open src/main/resources/application.properties

  • change spring.datasource.username and spring.datasource.password as per your mysql installation

4. Build and run the app using maven

mvn package
java -jar target/easy-notes-1.0.0.jar

Alternatively, you can run the app without packaging it using -

mvn spring-boot:run

The app will start running at http://localhost:8080.

Explore Rest APIs

The app defines following CRUD APIs.

GET /api/notes

POST /api/notes

GET /api/notes/{noteId}

PUT /api/notes/{noteId}

DELETE /api/notes/{noteId}

You can test them using postman or any other rest client.

Learn more

You can find the tutorial for this application on my blog -

https://www.callicoder.com/spring-boot-rest-api-tutorial-with-mysql-jpa-hibernate/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].