SoPra RESTful Service Template FS19
Spring Boot
- Documentation: https://docs.spring.io/spring-boot/docs/current/reference/html/index.html
- Guides: http://spring.io/guides
- Building a RESTful Web Service: http://spring.io/guides/gs/rest-service/
- Building REST services with Spring: http://spring.io/guides/tutorials/bookmarks/
Setup this Template with your IDE of choice
Download your IDE of choice: (e.g., Eclipse, IntelliJ).
- File -> Open... -> SoPra Server Template
- Accept to import the project as a
gradle project
To build right click the build.gradle
file and choose Run Build
Building with Gradle
You can use the local Gradle Wrapper to build the application.
Plattform-Prefix:
- MAC OS X:
./gradlew
- Windows:
./gradlew.bat
More Information about Gradle Wrapper and Gradle.
Build
./gradlew build
Run
./gradlew bootRun
Test
./gradlew test
API Endpoint Testing
Postman
- We highly recommend to use Postman in order to test your API Endpoints.