Go to file
2015-10-13 09:37:28 +02:00
scripts Rename update-nix-files to generate-nix-files 2015-09-08 20:39:20 +01:00
servant Fix 'Delete' documentation. 2015-10-11 21:08:45 +02:00
servant-blaze Remove auto-generated nix files 2015-09-08 20:36:54 +01:00
servant-cassava Remove auto-generated nix files 2015-09-08 20:36:54 +01:00
servant-client Rebase fix. 2015-10-11 21:47:31 +02:00
servant-docs Fix docs for ToSamples 2015-09-24 15:25:58 +03:00
servant-examples digest auth example was accidentally commited 2015-10-04 23:24:04 +02:00
servant-foreign Add entry to changelog 2015-10-07 20:02:46 +02:00
servant-js Fix redundant import warning in base < 4.8 2015-10-04 23:55:12 +02:00
servant-lucid Remove auto-generated nix files 2015-09-08 20:36:54 +01:00
servant-mock Use http-api-data package instead of ToText/FromText 2015-10-08 00:38:47 +03:00
servant-server Export tweakResponse from non-internal module; better haddock comment. 2015-10-12 21:58:06 +02:00
.ghci added servant/.ghci 2014-10-31 15:49:05 +01:00
.gitignore Ignore auto-generated nix files 2015-09-08 20:37:49 +01:00
.stylish-haskell.yaml Contributing 2015-08-17 23:50:42 +02:00
.travis.yml Remove redundant build from .travis.yml file. 2015-10-05 00:00:35 +02:00
HLint.hs Contributing 2015-08-17 23:50:42 +02:00
README.md Don't self-promote at all 2015-09-20 14:14:09 +02:00
servant.png Update READMEs 2015-04-20 15:48:37 +02:00
sources.txt Extract common code-generation stuff to servant-foreign 2015-09-21 20:59:09 +03:00
stack-ghc-7.8.4.yaml Update http-api-data dependency 2015-10-08 00:57:39 +03:00
stack.yaml Update resolver to the latest nightly 2015-10-08 16:21:22 +03:00

servant - A Type-Level Web DSL

servant

Getting Started

We have a tutorial that introduces the core features of servant. After this article, you should be able to write your first servant webservices, learning the rest from the haddocks' examples.

Other blog posts, videos and slides can be found on the website.

If you need help, drop by the IRC channel (#servant on freenode) or mailing list.

Contributing

Contributions are very welcome! To hack on the github version, clone the repository. You can use cabal:

./scripts/start-sandbox.sh # Initialize the sandbox and add-source the packages
./scripts/test-all.sh      # Run all the tests

stack:

stack build    # Install and build packages
stack test     # Run all the tests

Or nix:

./scripts/generate-nix-files.sh   # Get up-to-date shell.nix files

Though we aren't sticklers for style, the .stylish-haskell.yaml and HLint.hs files in the repository provide a good baseline for consistency.

Please include a description of the changes in your PR in the CHANGELOG.md of the packages you've changed. And of course, write tests!