Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful Base64 Binary Data Comparator

This project exposes 2 REST API for comparing 2 Base64 data.

Requirements

  • Java 8
  • Maven 3 Maven wrapper is included in repository
  • Lombok plugin should be installed on your IDE. Plugin is not mandatory for running.

Tech Stack

  • Spring Boot 2
  • Java 8
  • H2 (in-memory database)
  • Maven 3
  • Junit, Mockito, MockMvc
  • Spring REST Docs
  • Lombok

Usage

https://github.com/karapirinc/compare-json.git
cd compare-json

API Documentation

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

Run

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

About

Compares Base64 binary JSON data

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages