Popularity
3.9
Stable
Activity
0.0
Stable
267
11
5

Code Quality Rank: L5
Programming language: Swift
License: MIT License
Tags: Server    
Latest version: v0.1.1

swiftra alternatives and similar libraries

Based on the "Server" category.
Alternatively, view swiftra alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of swiftra or a related project?

Add another 'Server' Library

README

Swiftra

Swiftra is a library that provides DSLs like Sinatra.

System Requirements

DEVELOPMENT-SNAPSHOT-2016-02-08-a

Example

See swiftra-example.

import swiftra

get("/hello") { req in
    return "Hello, world!"
}

post("/form") { req in
    return "Hello: \(req.bodyString)"
}

get("/404") { req in
    return Response(.NotFound)
}

serve(8080)