Swiftpack.co - ctxppc/Spin as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by ctxppc.
ctxppc/Spin pre-conifer-upgrade
A Swift framework for web services
⭐️ 4
🕓 8 weeks ago
macOS
.package(url: "https://github.com/ctxppc/Spin.git", from: "pre-conifer-upgrade")

The Spin web framework

Spin is a library for rapidly developing efficient Swift-based web services and sites.

  • Value types and statelessness are main design goals
  • SwiftUI-inspired functional programming architecture
  • Builds on top of Vapor and SwiftNIO

Spin is a work in progress so the examples here might become outdated.

Components

The basic building block in Spin is the component. A component is a value that has an HTML representation. To create a component, define a type that conforms to the Component protocol and implement its body protocol.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics