Popularity
10.0
Stable
Activity
1.3
-
1,636
37
123
Monthly Downloads: 210
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Latest version: v0.12
scotty alternatives and similar packages
Based on the "scotty" category.
Alternatively, view scotty alternatives based on common mentions on social networks and blogs.
-
scotty-cookie
Cookie management helper functions for Scotty framework -
scotty-path-normalizer
Scotty action to redirect to a normalized path (remove trailing slash, "..", etc.) -
scotty-binding-play
The Play Framework style data binding in Scotty.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of scotty or a related project?
Popular Comparisons
README
Scotty 
A Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp.
{-# LANGUAGE OverloadedStrings #-}
import Web.Scotty
import Data.Monoid (mconcat)
main = scotty 3000 $
get "/:word" $ do
beam <- param "word"
html $ mconcat ["<h1>Scotty, ", beam, " me up!</h1>"]
Scotty is the cheap and cheerful way to write RESTful, declarative web applications.
- A page is as simple as defining the verb, URL pattern, and Text content.
- It is template-language agnostic. Anything that returns a Text value will do.
- Conforms to the web application interface (WAI).
- Uses the very fast Warp webserver by default.
See examples/basic.hs to see Scotty in action. (basic.hs needs the wai-extra package)
> runghc examples/basic.hs
Setting phasers to stun... (port 3000) (ctrl-c to quit)
(visit localhost:3000/somepath)
As for the name: Sinatra + Warp = Scotty.
More Information
Tutorials and related projects can be found in the Scotty wiki.
Development & Support
Open an issue on GitHub.
Copyright (c) 2012-2019 Andrew Farmer
FAQ
- Fails to compile regex-posix on Windows
- If you are using stack, add the following parameters to
stack.yaml
:- ```yaml
extra-deps:
- regex-posix-clib-2.7
flags:
regex-posix:
_regex-posix-clib: true
* If you are using cabal, update the `constraints` section of `cabal.project.local` as follows: *
constraints: regex-posix +_regex-posix-clib ```
- regex-posix-clib-2.7
flags:
regex-posix:
_regex-posix-clib: true
- ```yaml
extra-deps:
- If you are using stack, add the following parameters to