[] (https://github.com/SwiftyBeaver/SwiftyBeaver)
Source code of swiftybeaver.com powered by server-side Swift 3 with Vapor.
- Install Xcode 8
- Download / clone the repository & go into the project folder
- Install Vapor:
curl -sL toolbox.vapor.sh | bash
- Build the project:
vapor build
- Run the web server:
vapor run serve
- See the website at http://0.0.0.0:8080/
- 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.
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.
Get support via Github Issues, email and our public Slack channel.
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.