Skip to content

SwiftXCity/SwiftXDocs

Repository files navigation

SwiftX Framework

SwiftX is a high-performance, developer-first web framework for Swift, built on the ultra-clean SwiftXCore runtime. It abstracts away low-level complexities to provide a TitanPl-like development experience without sacrificing speed.

🚀 Key Features

  • Performance: High-speed Radix Router and Managed Worker Pool.
  • Multiplatform: Native support for Windows, Linux, and macOS.
  • Async First: Seamless bridge with standard Swift concurrency.
  • Plugin Driven: Add only what you need (CORS, Static Files, etc.).
  • DX Centric: Clean APIs, type-safety, and great path parameters.

📦 Quick Start

import SwiftX

let app = SwiftX()

app.get("/greet/:name") { req, _ in
    let name = req.param("name") ?? "World"
    return .json(["message": "Hello, \(name)!"])
}

app.start(port: 5100)

📖 Documentation

Visit swiftx.city/docs for full documentation, guides, and API reference.

🛠️ Installation

dependencies: [
    .package(url: "https://github.com/swiftxcity/swiftx.git", from: "1.0.0")
]

⚖️ License

MIT License. Built for the next generation of Swift developers.

About

SwiftX Docs website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors