Introduction
Welcome to Alchemy, a modern, batteries included web framework for Swift. You can use it to build a production ready backend for your next mobile app, cloud project or website.
@main
struct App: Application {
func boot() {
get("/hello") { req in
"Hello, \(req["name"])!"
}
}
}
Why Alchemy?
Swift on the Server is exciting but relatively nascant ecosystem. Building a backend with it can be daunting and the pains of building in a new ecosystem can get in the way. Alchemy gives you modern, robust, Swifty APIs for everything you need to build a production-ready backend such asโฆ
- ๐ฆ Simple, fast routing engine.
- ๐ฆ Powerful dependency injection container & plugins.
- ๐ Robust background job queues.
- ๐ Database agnostic ORM with migrations & extensible relationships.
- โฑ๏ธ Cron-like task scheduler.
- ๐ Clean, declarative service configurations.
- ๐งช Expressive testing APIs.
Alchemy is powered by SwiftNIO and the blazingly fast Hummingbird framework so that out of the box you can integrate existing Swift on the Server code. Stay focused on building your next amazing project in modern, Swifty style without sweating the details.
Start Building
To get setup with Alchemy, check out the Quickstart. If youโd rather dive right into some code, take a look at the examples repo.