Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
shuriken
.gitignore
.travis.yml
README.md
deploy.sh
serverless.yml

README.md

Overview

Build Status

This is the backend which provides a cloud-based API and storage for the "shuriken" page voting feature on blog.mbedded.ninja. It is similar to Medium.com's "claps".

Setup Credentials

You need to create AWS credentials which allow access to create Lambda functions, DynamoDB tables and CloudWatch logs.

When deployed via TravisCI, the AWS crednetials are stored in secret environment variables.

Deploy

To deploy to the dev environment:

$ serverless deploy

Teardown

To teardown the AWS architecture (by default this will be the dev environment):

$ serverless remove

However, this will not teardown the DynamoDB database. This has to be removed manually from the AWS Console.

You can’t perform that action at this time.