A serverless social network that's under development with some cool stuff, such as Serverless Framework, AppSync, GraphQL, Lambda, DynamoDB, Cognito, Kinesis Firehose, and Algolia ☁️
This application demonstrates a full-stack Apple CarPlay app that uses Swift for both the UI and the backend services in AWS. The app accesses Lambda functions written in Swift and deployed from Docker images. The app accesses Amazon Location Service and a 3rd party weather api to display information in the vicinity of the user.
Clone this repository to your local machine, and change to that directory
Change the values in handler.js in the ses.sendEmail() function, set the ToAddresses and Source to the email you've verified in SES. You can have multiple ToAddresses, as long as they're all verified in SES
You can test the function locally by running serverless invoke local --function sendForm --path event.json. This will run the function using the data in event.json
Run serverless deploy to upload to AWS Lambda
You can test the function through Lambda by running serverless invoke --function sendForm --path event.json. This will run the function using the data in event.json
A very basic contact form is included in the repository, index.html, replace API_GATEWAY_URL with the gateway URL that serverless displays in the console after you've deployed it. You can use this to test that the form works from a webpage. Uncomment the redirectUrl field if you want to redirect to another URL after a successful form submission.
You should be able to see the results of each form submission in AWS CloudWatch > Log Groups > /aws/lambda/contact-form-prod-sendForm (when you're in the AWS Console, make sure you're in the same region that you set in serverless.yml, otherwise the logs may not show up in CloudWatch)
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].