Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build a Restful API with Kotlin, Spring Boot, Mysql, Jpa and Hibernate

NotificationsYou must be signed in to change notification settings

callicoder/kotlin-spring-boot-jpa-rest-api-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build a Restful CRUD API using Kotlin, Spring Boot, Mysql, JPA and Hibernate.

Requirements

  1. Java - 11

  2. Maven - 3.x.x

  3. Mysql - 5.x.x

Steps to Setup

1. Clone the application

git clone https://github.com/callicoder/kotlin-spring-boot-jpa-rest-api-demo.git

2. Create Mysql database

create database kotlin_demo_app

3. Change mysql username and password as per your installation

  • opensrc/main/resources/application.properties

  • changespring.datasource.username andspring.datasource.password as per your mysql installation

4. Running the App

Type the following command in your terminal to run the app -

mvn spring-boot:run

The app will start running athttp://localhost:8080.

Explore Rest APIs

The app defines following CRUD APIs.

GET /api/articlesPOST /api/articlesGET /api/articles/{id}PUT /api/articles/{id}DELETE /api/articles/{id}

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/kotlin-spring-boot-mysql-jpa-hibernate-rest-api-tutorial/

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp