acuros / remembrall

Serverless architecture example. AWS STS + DynamoDB + S3.

Home Page:http://remembrall.acuros.pe.kr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remembrall

Remembrall is a simple vocabulary studying service made for example of serverless architecture with AWS. Made with React + Reflux + AWS JS SDK(STS using facebook authentication + DynamoDB) and deployed on S3.

If you want to deploy this service on your own AWS, follow the steps below.

  1. Clone this repository on your local machine and install all requirements(nodejs, webpack ...)
  2. Make your facebook app in https://developers.facebook.com
  3. Configure boto
  4. Run setup/setup.py (Written in python 2.7)
  5. Webpack the repository
  6. Setup your s3. http://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html
  7. Upload index.html and dist directory on your s3.

###Reading materials

###Example policy for the role

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "dynamodb:DeleteItem",
                "dynamodb:PutItem",
                "dynamodb:Query"
            ],
            "Resource": [
                "arn:aws:dynamodb:ap-northeast-1:617665285615:table/Word"
            ],
            "Condition": {
                "ForAllValues:StringEquals": {
                    "dynamodb:LeadingKeys": [
                        "${graph.facebook.com:id}"
                    ]
                }
            }
        }
    ]
}

About

Serverless architecture example. AWS STS + DynamoDB + S3.

http://remembrall.acuros.pe.kr


Languages

Language:JavaScript 78.7%Language:Python 12.1%Language:CSS 8.2%Language:HTML 1.0%