jeovazero / hello-haskell-nix

A project to explore haskell and nix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A project to explore haskell and nix

A small tools API with database access

The development stack so far:

  • Haskell
  • Nix
  • Arion (docker-compose)
  • postgres-typed
  • warp
  • wai
  • sqitch (migrations management)

Todo:

  • tests (hspec perhaps)
  • implement the PUT method
  • implement the GET method for a single tool
  • build docker image (with nix)

Running

$ nix-shell
$ make db-start
$ make build
$ ./result/bin/hello

The database is required for the build

I'm still learning and searching some architectures and best practices to follow and apply in this project.

About

A project to explore haskell and nix

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


Languages

Language:Haskell 73.5%Language:Nix 18.6%Language:PLpgSQL 6.2%Language:Makefile 1.8%