/SBWebsite

swiftybeaver.com powered by Vapor & Swift 3

Primary LanguageCSSMIT LicenseMIT

SwiftyBeaver Website

Language Swift 3 Vapor 1.x [SwiftyBeaver 1.x] (https://github.com/SwiftyBeaver/SwiftyBeaver) Slack Status

Source code of swiftybeaver.com powered by server-side Swift 3 with Vapor.

Installation

  1. Install Xcode 8
  2. Download / clone the repository & go into the project folder
  3. Install Vapor: curl -sL toolbox.vapor.sh | bash
  4. Build the project: vapor build
  5. Run the web server: vapor run serve
  6. See the website at http://0.0.0.0:8080/

Content

Used Frameworks / Libs:

Included Custom Middleware:

  • Cache Control (set custom cache control header based on file types)
  • CORS (set cross-origin HTTP request for URL based on file types)
  • Error Page (catches & logs HTTP & system errors, renders error pages)

See the middleware folder for more.

Learn More

Get support via Github Issues, email and our public Slack channel.

License

The Swift source code is released under the MIT License. Every other asset (images, videos, SVG files, etc.), is not allowed to be used without permission.