RESTful Base64 Binary Data Comparator
This project exposes 2 REST API for comparing 2 Base64 data.
Java 8Maven 3Maven wrapper is included in repositoryLombokplugin should be installed on your IDE. Plugin is not mandatory for running.
- Spring Boot 2
- Java 8
- H2 (in-memory database)
- Maven 3
- Junit, Mockito, MockMvc
- Spring REST Docs
- Lombok
https://github.com/karapirinc/compare-json.git
cd compare-json
REST API documentation is generated by Spring REST Docs.
To generate documentation execute:
mvnw package
Document is accessible from: /target/generated-docs/index.html
JavaDoc
/docs/javadocs/index.html
mvnw spring-boot:run
Services will be available at localhost:8080
- /v1/diff/
<id>/<comparison-side>(Persist Base64 binary data) - /v1/diff/
<id>(Compares previously stored binary data)
Please refer to REST API documentation for API usage details