1.git clone https://github.com/Rahulladumor/node-lambda-assignment.git
-
npm install -
npm install -g serverless -
go to
configsfolder updatedb.config.jswith your remote MySQL credentials. -
update
configs/config.jsfile with your rabbitmq credentials. -
Deploy on AWS :
sls deploy --stage {dev/prod} --aws-profile {name} -
for Sync DB API:
{api-gateway-endpoint}/sync