uport-project / lambda-caleuche

Caleuche. Event Hub Service
Apache License 2.0
6 stars 4 forks source link

Express wrapper implemented #24

Closed mahim23 closed 5 years ago

mahim23 commented 5 years ago

Resolves #18

Description

An Express wrapper added around the current api_handler.js functionality to run the app on a local dev server. The server runs with the command npm run start-dev, but can be modified to run with npm start here.

The api_handler.js is modified to accept unencrypted SECRETS variable, using a separate aws-secrets.js file.

A RUN_EXPRESS.md file is added that contains instructions on how to run build and run the server.

Tasks

mahim23 commented 5 years ago

@ajunge PTAL. I couldn't test the functionalities properly because of the JWT tokens and S3 buckets (I don't have access to them).

ajunge commented 5 years ago

Looks good! Merging to develop