Home

Awesome

<p align="center"> <a href="http://swiftexpress.io/"> <img alt="Swift Express" src ="https://raw.githubusercontent.com/crossroadlabs/Express/master/logo-full.png" height=256/> </a> <a href="https://github.com/crossroadlabs/Express/blob/master/doc/index.md"> <h5 align="right">Documentation <img src="https://cdn0.iconfinder.com/data/icons/glyphpack/82/tag-doc-64.png" height=16/> </h5> </a> </p>

<h5 align="right">Live 🐧 server running Demo <img src="https://cdn0.iconfinder.com/data/icons/glyphpack/34/play-circle-32.png" height=16/> </h5>

<h5 align="right">Eating our own dog food <img src="https://cdn0.iconfinder.com/data/icons/glyphpack/147/globe-full-32.png" height=16/> </h5>

Command Line Interface

🐧 linux: ready Build Status Platform OS X | Linux ![GitHub license](https://img.shields.io/badge/license-GPL v3-lightgrey.svg) GitHub release

Being perfectionists, we took the best from what we think is the best: power of Play Framework and simplicity of Express.js

Swift Express is an asynchronous, simple, powerful, yet unopinionated web application server written in Swift

Usage

Create new project

This one creates a brand new initialized project, ready to use out of the box.

swift-express init YourProject

swift-express init has a few optional parameters:

Initialise project dependencies

To download and build project dependencies call bootstrap command:

swift-express bootstrap

Optional parameters:

Update project dependencies

To update project dependencies according to Cartfile or Package.swift call update command:

swift-express update

Optional parameters:

Build project

Command line build interface for Swift Express projects.

swift-express build

Build configuration can be specified like this:

swift-express build release

Default configuration is debug

Optional parameters:

Run the app

Command line interface for running Swift Express apps.

swift-express run

Build configuration can be specified like this:

swift-express run release

Default configuration is debug

Optional parameters:

Print help

This one prints short documentation for all the commands available.

swift-express help

Also can print short documentation for command

swift-express help bootstrap

Installation

Please refer to the main Swift Express article here: https://github.com/crossroadlabs/Express/blob/master/doc/gettingstarted/installing.md

Changelog

Contributing

To get started, <a href="https://www.clahub.com/agreements/crossroadlabs/ExpressCommandLine">sign the Contributor License Agreement</a>.

Crossroad Labs by Crossroad Labs