Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kmturley/aws-angular
- Owner: kmturley
- Created: 2014-04-17T21:53:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-17T22:18:13.000Z (over 10 years ago)
- Last Synced: 2024-05-02T00:59:42.987Z (7 months ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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