Skip to content

codeglider/longestCommonSubstring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

This application is built using Spring Boot

Set Up Maven

Download and Install Maven

Set Up Git

Set up git on your command line, this just makes it easy to run a spring boot project. Choose any git client.

You can use source tree if you'd like, but you'll still need command line to run this.

For windows I use Git SCM

For Linux and Macs it should already be there. For Ubuntu you can do an apt-get install if git is not installed already For Centos you can use yum install if git is not installed For Mac See the following

Clone Project On To Your Machine

Using git please clone on to your computer, you can also use source tree. git clone https://github.com/codeglider/longestCommonSubstring.git

Running Application

Open a terminal or command line Go to the directory where you cloned the project Make sure you see pom.xml

If you do then issue the command

mvn spring-boot:run

Testing The Application

To test you can use Postman or SOAP UI

You can also use curl

i.e.

curl -H "Content-Type: application/json" -X POST -d '{"setOfStrings":[{"value":"sdropungard"},{"value":"sungarderdrop"},{"value":"dropgarden"}]}' http://localhost:8080/lcs

About

Find the longest common substring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages