A web service that returns the langauge code of a sentence passed to it
To get started you need to have docker installed on Windows or Mac please follow this link
for Ubuntu use this link.
Once downloaded clone the repository and cd
into the repository and
cd language-api
run the following command
docker-compose up --build
The command will download all the required containers and start the application to access the application go to the browser on the url http://localhost:5000
To Test the application run the below requests in another terminal;
curl -i -X POST -H "Content-Type: application/json" -d '{"input": "My cat ate a mouse"}' http://localhost:5000/
curl -i -X POST -H "Content-Type: application/json" -d '{"input": "Startrek is a ship"}' http://localhost:5000/
##Testcases