https://github.com/satzrp/spring-boot-rest-kotlin
Sample spring boot REST API using Kotlin
https://github.com/satzrp/spring-boot-rest-kotlin
kotlin spring spring-boot
Last synced: about 2 months ago
JSON representation
Sample spring boot REST API using Kotlin
- Host: GitHub
- URL: https://github.com/satzrp/spring-boot-rest-kotlin
- Owner: satzrp
- Created: 2017-09-04T19:02:32.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T22:53:15.000Z (over 8 years ago)
- Last Synced: 2025-01-09T21:38:37.355Z (over 1 year ago)
- Topics: kotlin, spring, spring-boot
- Language: Kotlin
- Size: 6.84 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample spring boot rest application using Kotlin #
This is a sample spring boot REST application using [Kotlin](https://kotlinlang.org) language (A new JVM language,
developed by [Jetbrains]
(https://www.jetbrains.com))
Application is bootstrapped using [Spring Initializr](http://start.spring.io)
#### Modules used ####
* Web - for exposing the REST endpoints
* JPA - for ORM and database operations
* H2 - in memory database used for testing
#### Endpoints ####
REST endpoints for performing different CRUD (Create, Read, Update, Delete) operations on Movie entity.
* PUT - /moviedb/api/movie
* GET - /moviedb/api/movie/all
* GET - /moviedb/api/movie/{movieId}
* GET - /moviedb/api/movie/name/{movieName}
* POST - /moviedb/api/movie/{movieId}
* DELETE - /moviedb/api/movie/{movieId}
#### To build and run the application ####
```text
mvn clean install -Dmaven.test.skip=true
```
#### Tools used ####
* IntelliJ IDEA
* Git
* Postman