valeriyvan / Swift-AWS-Lambda-Website

Source code for a website written in Swift and hosted using AWS Lambda + API Gateway

Home Page:https://swift-aws-lambda-website.jasonzurita.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Websites using Swift and AWS Lambda

This is the source code for this website: https://swift-aws-lambda-website.jasonzurita.com, that is written in Swift and hosted on Amazon Web Services (AWS) mainly using AWS Lambda and API Gateway.

This is the result of asking, Can I make lightweight websites written in Swift that are simple, fun to write, and easy deploy? The answer is yes!


Check out the related blog posts for a detailed breakdown:


To get started playing with this project:

  • Clone it
  • Local website development
    • swift run Local-Website
    • open Artifacts/index.html in your preferred web browser
  • AWS Lambda function
    • make
    • upload Artifacts/lambda.zip to AWS Lambda
      • more deployment details in the part 2 blog post above
  • Try changing Sources/GenerateWebsite/GenerateWebsite.swift and rerunning the local development flow above to see changes!

About

Source code for a website written in Swift and hosted using AWS Lambda + API Gateway

https://swift-aws-lambda-website.jasonzurita.com/


Languages

Language:Swift 76.3%Language:HTML 17.5%Language:Makefile 6.2%