Closed mahim23 closed 5 years ago
Resolves #18
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.
api_handler.js
npm run start-dev
npm start
The api_handler.js is modified to accept unencrypted SECRETS variable, using a separate aws-secrets.js file.
SECRETS
A RUN_EXPRESS.md file is added that contains instructions on how to run build and run the server.
serverless.yml
@ajunge PTAL. I couldn't test the functionalities properly because of the JWT tokens and S3 buckets (I don't have access to them).
Looks good! Merging to develop
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 commandnpm run start-dev
, but can be modified to run withnpm 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
serverless.yml
currently.