Test project Store in Kotlin
Store project backend in Kotlin using Spring Boot. For storing products used yml file. For checkout transaction used H2 embedded database.
To run project in developer mode
In Linux and macOS
./gradlew bootRun
In Windows
gradlew.bat bootRun
If you want to run only backend without client add -x buildClient e.g.
In Linux and macOS
gradlew.bat bootRun -x buildClient
In Windows
gradlew.bat bootRun -x buildClient
To build project
In Linux and macOS
./gradlew buildClient bootJar
In Windows
gradlew.bat buildClient bootJar
To run jar in production mode
In Linux macOS and Windows
java -jar build/libs/bookstore-0.0.1-SNAPSHOT.jar
Creator
Talgat Akunsartov
Copyright and license
The code is released under the MIT license.
Please feel free to send me some feedback or questions!