Vapor
Perfect
Vapor | Perfect | |
---|---|---|
63 | 1 | |
25,080 | 13,823 | |
0.5% | -0.1% | |
8.0 | 0.0 | |
4 days ago | over 1 year ago | |
Swift | Swift | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Vapor
-
What's New in Swift 6.2?
Generally only useful within the Apple ecosystem is definitely inaccurate.
An example: https://vapor.codes/
The problem is that people only think it’s generally useful in the Apple ecosystem.
- Getting Started with Vapor: Building Swift Web Apps with Ease
- Swift, but on a Server
-
Swift 6
Do you mean from first-principles, or letting someone else do the work and use a framework? The latter has been around for years, extremely easy: https://vapor.codes
-
Show HN: Resend/Loops alternative with back end written using Swift
IndiePitcher (https://indiepitcher.com) is email solution for tech companies allowing to send transactional/marketing emails, and manage email list subscriptions (like stripe subscription management portal).
An interesting fact for this community might be that the backend is a monolith written using Swift programming language (that one from Apple to make iPhone apps) using Vapor framework (https://vapor.codes), so I thought that I'd share it here.
-
Swift Static Linux SDK
I haven't used it yet, but I've heard really good things about Vapor as far as server side Swift goes...
https://vapor.codes
-
Swiftly Chatting: Building Chatbots with Botter
Botter works in tandem with Vapor, which handles the server-side functions of your project. This powerful combination allows you to focus on what matters most - creating an engaging and effective chatbot.
-
Issue with Vapor Server
// swift-tools-version: 5.8 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: "MyServer", platforms: [.macOS("12.0")], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .executable( name: "MyServer", targets: ["MyServer"]), ], dependencies: [ .package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from: "4.70.0")), // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: "1.0.0"), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package depends on. .executableTarget( name: "MyServer", dependencies: [ .product(name: "Vapor", package: "vapor") ]), .testTarget( name: "MyServerTests", dependencies: ["MyServer"]), ] )
-
Is it possible/straightforward to have a webserver baked in to an iOS app?
Otherwise there's https://github.com/vapor/vapor
- A Look at the Crystal Programming Language for Humans
Perfect
-
Getting Started with Swift on Server
There are some interesting http frameworks (think Express.js, Fastify, etc.) to simplify working with SwiftNIO such as Vapor, Hummingbird and Perfect. There's even a full CMS (Feather).
What are some alternatives?
hummingbird - Lightweight, flexible HTTP server framework written in Swift
Kitura - A Swift web framework and HTTP server.
Alamofire - Elegant HTTP Networking in Swift
Zewo - Lightweight library for web server applications in Swift on macOS and Linux powered by coroutines.
Express - Swift Express is a simple, yet unopinionated web application server written in Swift