Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 826 Bytes

README.md

File metadata and controls

43 lines (27 loc) · 826 Bytes

sunhypnotic-server

Haskell based JSON API for SunHypnotic release data. Work in Progress.

http://sunhypnotic.com

Build & Run

First clone the repo:


$ git clone http://github.com/accraze/sunhypnotic-server
$ cd sunhypnotic-server

This project is built using Stack. To install all deps and build an executable:

$ stack setup
...
$ stack build

Then you can use the ghci REPL to interact with the API.

$ stack ghci
....
*SunHypnotic> serve
Starting Server...
Setting phasers to stun... (port 3000) (ctrl-c to quit)

Then you can get JSON release data at http://localhost:3000/releases or http://localhost:3000/releases/:id

License

MIT License 2016 © accraze