reserve alternatives and similar packages
Based on the "Web" category.
Alternatively, view reserve alternatives based on common mentions on social networks and blogs.
-
servant
Main repository for the servant libraries — DSL for describing, serving, querying, mocking, documenting web applications and more! -
swagger-petstore
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. -
scotty
Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp (Official Repository) -
haskell-bitmex-rest
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. -
apecs-gloss
a fast, extensible, type driven Haskell ECS framework for games -
airship
Helium + Webmachine = Airship. A toolkit for building declarative, RESTful web apps. -
haskell-kubernetes
Haskell bindings to the Kubernetes API (via swagger-codegen) -
hbro
[Unmaintained] A minimal web-browser written and configured in Haskell. -
digestive-functors
A general way to consume input using applicative functors -
tagsoup
Haskell library for parsing and extracting information from (possibly malformed) HTML/XML documents -
servant-elm
Automatically derive Elm functions to query servant webservices -
backprop
Heterogeneous automatic differentiation ("backpropagation") in Haskell -
android-lint-summary
Prettier display of Android Lint issues -
engine-io
A Haskell server implementation of the Engine.IO and Socket.IO (1.0) protocols -
kubernetes-client-core
Haskell client for the kubernetes API. A work in progress. -
keera-hails-reactive-htmldom
Keera Hails: Haskell on Rails - Reactive Programming Framework for Interactive Haskell applications
Less time debugging, more time building
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of reserve or a related project?
README
reserve
DISCLAIMER: This is early stage software. It is already functional and useful, but it still has some rough edges.
reserve
provides code reloading for Haskell web applications. You can run
you application with reserve
during development and code changes will take
immediate effect.
Requirements
reserve
can reload arbitrary Haskell web applications. The only requirement
is that your application works with ghci
.
Examples
Scotty
Create a file app.hs
with the following content:
{-# LANGUAGE OverloadedStrings #-}
import Web.Scotty
main :: IO ()
main = scotty 3000 $ do
get "/" $ do
text "hello\n"
$ reserve app.hs
Make a request to http://localhost:12000, modify app.hs
, reload!
Snap (sandboxed)
$ mkdir my-project && cd my-project
$ cabal sandbox init
$ cabal install snap
$ cabal exec snap init barebones
$ cabal exec -- reserve -p 8000
Make a request to http://localhost:12000, modify src/Main.hs
, reload!
Customization
By default reserve
assumes that the Main
module of your application is at
src/Main.hs
. You can customize this by passing the path to your Main
module to reserve
:
$ reserve src/app.hs
By default reserve
assumes that your application listens on port 3000
. You
can customize this by passing --port
to reserve
:
$ reserve --port 8000
By default reserve
serves your application on port 12000
. You can
customize this by passing --reserve-port
to reserve
:
$ reserve --reserve-port 4040
You can pass command-line arguments to your application by separating them with
--
:
$ reserve src/app.hs -- --mode development
reserve
uses ghci
to run your application. If your application requires
any addition GHC options, you can put them into ./.ghci
:
$ echo ":set -isrc" >> .ghci
$ reserve src/app.hs
reserve
works with Cabal sandboxes, just run it with cabal exec -- reserve
.