My first AWS Lambda using Node.js to return address information through zip code
This functions works with http requests
- Clone repo
git clone https://github.com/JonathanFerreira/cepless
- Install project dependencies
cd cepless
npm install
-
Create your AWS IAM.
-
Set your credentials
serverless config credentials -o --provider aws --key=YOUR_AWS_KEY --secret YOUR_AWS_SECRET
For local tests you can use:
serverless offline
And then access in your browser:
http://localhost:3000/cep/13876874
npm run deploy