Based on example-servant-elm
See it in action pollution-info-service
[Important] To set up this project you need to have installed:
- Clone repository
$ git clone https://github.com/mat646/pollution-info-service.git
- Change directory to created folder
$ cd pollution-info-service/
- Download dependencies
$ make setup
- Build project
$ make build
- Start server
$ make server-start
- Go to website
http://localhost:3000/
Project can be containerized with docker and deployed on cloud application platforms such as DigitalOcean.
[Important] To create image of project you need to have docker installed.
- Clone repository
$ git clone https://github.com/mat646/pollution-info-service.git
- Change directory to created folder
$ cd pollution-info-service/
- Create docker image
$ docker build -t pollution-info-service .
- Start image
$ docker run --rm -p 3000:3000 pollution-info-service
Included tests can be executed with stack
$ make test
Available at: pollution-info-service-docs
Created with Haddock build in stack.