salvia-demo

Demo Salvia servers.

Latest on Hackage:1.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Sebastiaan Visser
Maintained by [email protected]

This package contains six simple example programs that show how to use the Salvia web application framework. The first demo, salvia-demo, contains a bigger example showing off some of the more advanced features and handler running on the default Salvia server implementation. The second demo, salvia-cgi show how to switch the Salvia back-end and run a Salvia handler in CGI mode. The third example, salvia-serve, is a simple file server that uses the c10k-server back-end and the send-file package to server static files and directories. The other demos illustrate how to use some simple aspects of the web framework.