add body decodable
Swift Squirrel is a simple open source web framework written in swift 4 aimed to help swift developers to create their custom APIs or web applications for Linux and Mac Os platform.
Check out our docs page!
Add Swift Squirrel as dependency in your Package.swift
// swift-tools-version:4.0 import PackageDescription let package = Package( name: "Your app", products: [ // Your products ], dependencies: [ .package(url: "https://github.com/Swift-Squirrel/Squirrel.git", from: "1.0.0"), // Other dependencies ], targets: [ .target( name: "Your Target", dependencies: [..., "Squirrel"]), ] )
And in source add import line
import Squirrel
The most simple usage is this Hello, World!
import Squirrel let server = Server() server.get("/") { return "Hello, World!" } server.run()
For more informations check out documentation
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
See also CONTRIBUTORS to list of contributors who participated in this project.
This project is licensed under the Apache License Version 2.0 - see the LICENSE file for details
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
Swift Squirrel
Swift Squirrel is a simple open source web framework written in swift 4 aimed to help swift developers to create their custom APIs or web applications for Linux and Mac Os platform.
Check out our docs page!
Installing
Add Swift Squirrel as dependency in your Package.swift
And in source add import line
Usage
The most simple usage is this Hello, World!
Documentation
For more informations check out documentation
Contributing
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
Authors
See also CONTRIBUTORS to list of contributors who participated in this project.
License
This project is licensed under the Apache License Version 2.0 - see the LICENSE file for details