Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 6 days 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T22:53:15.000Z (about 7 years ago)
- Last Synced: 2023-11-28T08:25:59.736Z (12 months 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