Spock

Another Haskell web framework for rapid development
Alternatives To Spock
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Gin74,3112,73410,733a day ago180June 01, 2023766mitGo
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Vapor23,623
752 days agoMarch 07, 202395mitSwift
💧 A server-side Swift HTTP web framework.
Perfect13,837
1020 days agoFebruary 08, 202165apache-2.0Swift
Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and more…)
Faygo1,599
a year ago6June 26, 20226apache-2.0Go
Faygo is a fast and concise Go Web framework that can be used to develop high-performance web app(especially API) with fewer codes. Just define a struct handler, faygo will automatically bind/verify the request parameters and generate the online API doc.
Lithium1,061
a year ago21mitC++
Easy to use C++17 HTTP Server with no compromise on performances. https://matt-42.github.io/lithium
Rouille1,03110353a month ago37April 24, 202358apache-2.0Rust
Web framework in Rust
Ofbiz687
4 years ago12apache-2.0Java
Apache OFBiz - Main development has moved to the ofbiz-frameworks repository.
Spock672
728 months ago63December 02, 202331Haskell
Another Haskell web framework for rapid development
Happyx415
a month ago50December 07, 202313mitNim
Macro-oriented asynchronous web-framework written in Nim with ♥
Raxx38016163 years ago76April 30, 20178apache-2.0Elixir
Interface for HTTP webservers, frameworks and clients
Alternatives To Spock
Select To Compare


Alternative Project Comparisons
Readme

Spock

Build status Hackage Hackage Spock-Core

Intro

Another Haskell web framework for rapid development. To get started with Spock, check our tutorial or take a look at our example project funblog!

Mailing list

Please join our mailing list at [email protected]

Features

Another Haskell web framework for rapid development: This toolbox provides everything you need to get a quick start into web hacking with haskell:

  • fast typesafe routing
  • middleware
  • json
  • sessions
  • cookies
  • database helper
  • csrf-protection
  • typesafe contexts

Important Links

Talks

Candy

Extensions

The following Spock extensions exist:

Works well with Spock

SSL / HTTPS

If you'd like to use your application via HTTPS, there are two options:

  • Use nginx/haproxy/... as reverse proxy in front of the Spock application.
  • Convert the Spock application to a wai-application using the spockAsApp. Then use the warp-tls package to run it.

Notes

Since version 0.11.0.0 Spock drops simple routing in favor of typesafe routing and drops safe actions in favor of the "usual" way of csrf protection with a token.

Since version 0.7.0.0 Spock supports typesafe routing. If you wish to continue using the untyped version of Spock you can Use Web.Spock.Simple. The implementation of the routing is implemented in a separate haskell package called reroute.

Since version 0.5.0.0 Spock is no longer built on top of scotty. The design and interface is still influenced by scotty, but the internal implementation differs from scotty's.

Thanks to

Hacking

Pull requests are welcome! Please consider creating an issue beforehand, so we can discuss what you would like to do. Code should be written in a consistent style throughout the project. Avoid whitespace that is sensible to conflicts. (E.g. alignment of = signs in functions definitions)

Note that by sending a pull request you agree that your contribution can be released under the BSD3 License as part of the Spock package or related packages.

Misc

Officially Supported GHC Versions

  • 8.10.7
  • 8.8.4

License

Released under the BSD3 license. (c) 2013 - 2021 Alexander Thiemann

Popular Web Application Framework Projects
Popular Server Projects
Popular Frameworks Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Server
Http
Haskell
Functional Programming
Routing
Web Application Framework
Type Safe