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