You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
art.dambrine f03409ddcd dist jar 3 years ago
dist dist jar 3 years ago
docs asciidoc documentation v0.4 and publishing 3 years ago
gradle/wrapper getPartners & getPartnerById ok still needs better error handling 3 years ago
src adding @RequestParam(defaultValue...) for GET /partners 3 years ago
.gitignore dist jar 3 years ago
TODO.md asciidoc documentation v0.3 3 years ago
build.gradle add test-logger plugin for gradle 3 years ago
docs.html asciidoc documentation v0.4 and publishing 3 years ago
gradlew getPartners & getPartnerById ok still needs better error handling 3 years ago
gradlew.bat getPartners & getPartnerById ok still needs better error handling 3 years ago
readme.md dist jar 3 years ago
settings.gradle getPartners & getPartnerById ok still needs better error handling 3 years ago

readme.md

Api partner for B2Boost 🚀

Doc Writer art-dambrine.ovh [@art-dambrine]

Framework and build tools

For this project I chose to use Spring Boot alongside Gradle.

Api documentation

In the following document you will find a simple documentation of the API. Most of the following sections have been generated with Spring Rest Docs.

You will find the documentation in the docs.html at the root of this project, it's also available here 👉 API DOCUMENTATION

Useful commands

Assuming you are using a bash cli

Run the app in dev env

./gradlew bootRun

Run the test suite with gradle

./gradlew test

Prepare the jar archive with gradle for deployment

./gradlew clean bootJar

Path of the output is build/libs/api-spring-gradle-b2boost-0.0.1-SNAPSHOT.jar

I already have a built jar that you can find in the dist directory

Run the dist jar

java -jar dist/api-spring-gradle-b2boost-0.0.1-SNAPSHOT.jar