All Projects → agrafix → Spock

agrafix / Spock

Another Haskell web framework for rapid development

Programming Languages

haskell
3896 projects

Projects that are alternatives of or similar to Spock

Deno Drash
A REST microframework for Deno's HTTP server with zero 3rd party dependencies.
Stars: ✭ 795 (+27.61%)
Mutual labels:  api, framework, server
Pogo
Server framework for Deno
Stars: ✭ 341 (-45.26%)
Mutual labels:  api, framework, server
Autoserver
Create a full-featured REST/GraphQL API from a configuration file
Stars: ✭ 188 (-69.82%)
Mutual labels:  api, framework, server
Golf
⛳️ The Golf web framework
Stars: ✭ 248 (-60.19%)
Mutual labels:  framework, webframework, server
Micro
Micro is a distributed cloud operating system
Stars: ✭ 10,778 (+1630.02%)
Mutual labels:  api, framework, server
Pure Http
✨ The simple web framework for Node.js with zero dependencies.
Stars: ✭ 139 (-77.69%)
Mutual labels:  api, framework, server
Actionhero
Actionhero is a realtime multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks
Stars: ✭ 2,280 (+265.97%)
Mutual labels:  api, framework, server
Loopback Next
LoopBack makes it easy to build modern API applications that require complex integrations.
Stars: ✭ 3,972 (+537.56%)
Mutual labels:  api, framework
Feather
Feather is a modern Swift-based content management system powered by Vapor 4.
Stars: ✭ 374 (-39.97%)
Mutual labels:  api, framework
Fastd
🚀 A high performance PHP API framework.
Stars: ✭ 423 (-32.1%)
Mutual labels:  api, server
Iris
The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |
Stars: ✭ 21,587 (+3365.01%)
Mutual labels:  framework, server
Nodejsstarterkit
Starter Kit for Node.js v14.x, minimum dependencies 🚀
Stars: ✭ 348 (-44.14%)
Mutual labels:  api, server
Cppwebframework
​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
Stars: ✭ 348 (-44.14%)
Mutual labels:  framework, server
Larapi
An API-friendly fork of Laravel. Authentication, error handling, resource filtering, sorting, pagination and much more included
Stars: ✭ 397 (-36.28%)
Mutual labels:  api, framework
Pode
Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
Stars: ✭ 329 (-47.19%)
Mutual labels:  framework, server
Bubbletea
A powerful little TUI framework 🏗
Stars: ✭ 7,886 (+1165.81%)
Mutual labels:  framework, functional
New Website
🖥 cdnjs.com website
Stars: ✭ 449 (-27.93%)
Mutual labels:  api, server
Vapor
💧 A server-side Swift HTTP web framework.
Stars: ✭ 21,194 (+3301.93%)
Mutual labels:  framework, server
Warp
A super-easy, composable, web server framework for warp speeds.
Stars: ✭ 5,717 (+817.66%)
Mutual labels:  framework, server
Awesome Openapi3
😎 A list of awesome projects related to OpenAPI 3.0.x, curated by the community
Stars: ✭ 469 (-24.72%)
Mutual labels:  api, server

Spock

Build Status Hackage Hackage Spock-Core

HEAD Documentation: Spock 0.14.0.1 (unreleased)

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.8.4

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].