Skip to content

How To Develop It

Chris/0 edited this page Jan 24, 2019 · 1 revision

This project is written in JavaScript, and primarily uses Node and the Serverless Application Model as its development tools. If you're already familiar with these tools, go to town! Otherwise, here is a very brief overview.

To begin development, ensure that you have Node and NPM installed. Install the project's dependencies:

npm install

To build the project and test it locally, ensure that the file "event.json" has had its metasyntatic variable substituted:

  • authorizationToken: A valid JWT, in the form "Bearer <TOKEN CONTENTS>".

Once that is done, the authorizer can be invoked locally:

npm run bundle
sam local invoke -e ./event.json Authorizer
Clone this wiki locally