Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kmturley/aws-angular

AngularJS and Amazon JavaScript SDK
https://github.com/kmturley/aws-angular

Last synced: 1 day ago
JSON representation

AngularJS and Amazon JavaScript SDK

Awesome Lists containing this project

README

        

aws-angular
===========

AngularJS and Amazon JavaScript SDK
created using guide from: http://www.ng-newsletter.com/posts/aws-js-sdk.html

* Log into Amazon AWS and go to: https://console.aws.amazon.com/dynamodb/home
* Create a table called Users with a hash key of 'User email'
* Create a table called UsersItems with a primary hash key of 'User email' and primary range key of 'ItemId'
* Go to: https://console.aws.amazon.com/s3/home and create a bukect called 'ng-app-test'
* Click Bucket > Properties > Permissions > Edit CORS Configuration, and enter these unrestricted settings:

```xml




*
GET
PUT
POST
DELETE
3000
*

```

Note: you will want to restrict these settings before going live

* Go to: https://console.aws.amazon.com/iam/home
* Click Roles > Create new role > 'google-web-role'
* Select 'Role for Identity Provider Access' and 'Grant access to web identity providers'
* Select Identity Provider and Google and enter the client ID from a new Google cloud app at https://console.developers.google.com/project
* Set the policy conditions to access the S3 and DynamoDB services to give access to the site
* Update the ARN in js/app.js here and the client id html/main.html to finish the setup