Popularity
5.3
Declining
Activity
0.0
Stable
3
7
0

Monthly Downloads: 14
Programming language: Haskell
License: MIT License
Tags: Web    
Latest version: v0.0.4.0

waitra alternatives and similar packages

Based on the "Web" category.
Alternatively, view waitra alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of waitra or a related project?

Add another 'Web' Package

README

Waitra

Waitra is a very simple router. It's useful for writing simple API web-services, when you don't want to use the whole Yesod stack.

Build Status

Synopsis

echoRoute :: Route
echoRoute = routeGet (echoApp <$ string "/api/echo/" <*> many anySym)
  where echoApp msg _req respond = respond $ responseLBS status200 [] (fromString msg)

app :: Application
app = waitraMiddleware [echoRoute] $ staticApp $ embeddedSettings $(mkRecursiveEmbedded "static")

Documentation

Documentation is available at hackage.