Skip to content

Small example of a Nix-built servant-server with a reflex-dom client.

Notifications You must be signed in to change notification settings

srhb/reflex-servant-scaffold

Repository files navigation

TL;DR:

./update-platform
nix-build default.nix
./result/bin/serve

Visit http://localhost:8080/static/index.html in your browser.

Slightly longer version

This is a very barebones scaffold designed to help understanding how a servant/reflex project might be structured using Nix and reflex-platform using minimal magic.

You should start by running ./update-platform to get an up-to-date checkout of reflex-platform. If you haven't used try-reflex directly before (which I recommend,) you may also want to read the notes on binary caches, to avoid having to build everything yourself.

Afterwards, you can build the entire project with nix-build default.nix and explore the result symlink. You can also build subprojects individually. Have a go at it!

About

Small example of a Nix-built servant-server with a reflex-dom client.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published