As a stack project, you can launch the webserver by running stack run.
Once the server is running, data can be accessed through the following ways.
The default port is 5000.
A basic frontend written with Yesod resources
can be accessed under http://localhost:3000.
Alternatively, the server may respond with json content. The curl command below will access the json endpoint.
curl -F 'query=Panthera pardus' http://localhost:3000/search.json