Giter Club home page Giter Club logo

noteless's Introduction

build deploy

$ npm install -g serverless
$ cd ./serverless
$ serverless deploy

Serverless: Packaging service...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service .zip file to S3 (4.25 KB)...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
.....................................................................
Serverless: Stack update finished...
Service Information
service: Noteless
stage: dev
region: us-east-1
api keys:
  None
endpoints:
  GET - https://xxxxxxxxxx.execute-api.us-east-1.amazonaws.com/prod/v1/notes
  POST - https://xxxxxxxxxx.execute-api.us-east-1.amazonaws.com/prod/v1/notes
  PUT - https://xxxxxxxxxx.execute-api.us-east-1.amazonaws.com/prod/v1/notes
functions:
  getNotes: NotelessV1-prod-getNotes
  postNote: NotelessV1-prod-postNote
  deleteNote: NotelessV1-prod-deleteNote
finished in 88.689s                

$ deploy-hosting.sh
...
upload: ....      

iam, cognito, openid, federated identity

http://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-browser-credentials-cognito.html https://web-identity-federation-playground.s3.amazonaws.com/index.html (http://docs.aws.amazon.com/cognitoidentity/latest/APIReference/Welcome.html) https://aws.amazon.com/blogs/developer/authentication-with-amazon-cognito-in-the-browser/ http://docs.aws.amazon.com/cognito/latest/developerguide/google.html#JavaScript

ssl:

https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html

intro:

add new identity:

[...] there is no additional cost for using groups within a user pool. You pay only for Monthly Active Users (MAUs) after the free tier. Also remember that using the Cognito Federated Identities feature for controlling user permissions and generating unique identifiers is always free with Amazon Cognito. (https://aws.amazon.com/blogs/aws/new-amazon-cognito-groups-and-fine-grained-role-based-access-control-2/)

bingo

confused deputy, never thrust a client

noteless's People

Contributors

laszlokiraly avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.