Skip to content

karapirinc/compare-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages