Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.2 KB

readme.md

File metadata and controls

23 lines (20 loc) · 1.2 KB

This file contains the instructions to run the solution. Prerequisites:

  • Java
  • Maven
  • clone the git repo from the instructions mentioned in the email.
  • cd into the repo and run the following command mvn clean install. This command will build the solution.
  • Now to to run the solution do mvn exec:java. The solution will run on the default port 4567.
  • To test Json Parse, from postman select POST operation and add To test with different combinations update testJsonParse.json and run below command.
    curl -H "Content-Type: application/json" --data @testJsonParse.json http://localhost:4567/jsonparse
  • To test Scrabble Boggle from cmd/terminal execute the below command. For the below example the output is 1. To test with different combinations update testScrabbleBoggle.json and run below command.
    curl -H "Content-Type: application/json" --data @testScrabbleBoggle.json http://localhost:4567/scrabbleboggle