Gab0 / species-pedia

A simple search engine for biological species built with Yesod and PostgreSQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

species-backend

Setup & execution

As a stack project, you can launch the webserver by running stack run.

Usage

Once the server is running, data can be accessed through the following ways. The default port is 5000.

Frontend

A basic frontend written with Yesod resources can be accessed under http://localhost:3000.

Json endpoint

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

About

A simple search engine for biological species built with Yesod and PostgreSQL.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 92.3%Language:JavaScript 6.3%Language:CSS 0.7%Language:Dockerfile 0.6%