You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* basic setup for aws
* rewrite import/exports for compatibility
* add dotenv
* aws working
* add ec2 managing lambda
* manager function logic
* add client-ec2 and logging
* finish off initial start/stop logic
* add pubsub to lambda
* add dotenv plugin
* use INSTANCE env var
* redis port process env
* npm i
* Express version runs locally!
Changes made:
1) New env variable EXPRESS, that should be passed as true, to run express version of the backend(that is with subscriptions), else false, to run the aws version of the backend, or to deploy to AWS-Lambda.
2) Changed the scripts in package.json,
a) start_aws to run index.js of aws version.
b) start_express to run the express version.
3) Updated the resolvers to use mongoose 6.X and now both aws and express version share common files such as models, resolvers etc.
* chor: required changes implemented.
* removed env variable for conditioning subs.
Instead used "_HANDLER" , which is not null during aws/lambda runs.
* renamed express_server to index
and changed start script to be npm start.
* Unified the AWS and Express Branches. (#150)
* Express version runs locally!
Changes made:
1) New env variable EXPRESS, that should be passed as true, to run express version of the backend(that is with subscriptions), else false, to run the aws version of the backend, or to deploy to AWS-Lambda.
2) Changed the scripts in package.json,
a) start_aws to run index.js of aws version.
b) start_express to run the express version.
3) Updated the resolvers to use mongoose 6.X and now both aws and express version share common files such as models, resolvers etc.
* chor: required changes implemented.
* removed env variable for conditioning subs.
Instead used "_HANDLER" , which is not null during aws/lambda runs.
* renamed express_server to index
and changed start script to be npm start.
Co-authored-by: Aadi Bajpai <[email protected]>
0 commit comments