All Projects → SwiftyBeaver → SBWebsite

SwiftyBeaver / SBWebsite

Licence: MIT license
swiftybeaver.com powered by Vapor & Swift 3

Programming Languages

CSS
56736 projects
swift
15916 projects
shell
77523 projects

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.

Deployment

The project includes a deployment script and a Linux service file. Please read our dedicated article about how you can deploy a production-ready Vapor web app like this one to Amazon Web Services EC2.



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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].