A Clap Counter API written in Haskell
846
This software is a service which count likes in a website. It is as a like counter so to speak.
It serves everything in a REST API which has two rules:
GET /v1/claps/<url>
POST /v1/claps/<url>
The GET request returns the number of claps of <url> sent and the POST
request adds 1 on the number of claps of <url>.
To build the software the stack is used. The tool will automatically download every dependency of the project using cabal and the haskell repository.
After installing the stack you may use the Makefile to build and execute the project. Use the build rule to build and the serve rule to serve the server which will count likes depending on the request made to the website.
The dockerfile will be implemented soon and will be available on the docker hub.
Content type
Image
Digest
Size
1000.6 MB
Last updated
over 7 years ago
docker pull ryukinix/clap-counter