diff --git a/README.md b/README.md index a41e617..7de7ee6 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,15 @@ ### steps 1. Install nodejs -2. Install serverless 'npm install -g serverless' -3. setup credentials 'sls config credentials --provider aws --key 'accessKeyId' --secret 'secretAccessKey'' +2. Install serverless `npm install -g serverless` +3. setup credentials `sls config credentials --provider aws --key 'accessKeyId' --secret 'secretAccessKey'` 4. create and redirect to new folder -5. Run 'sls create --template aws-nodejs' +5. Run `sls create --template aws-nodejs` 6. open the folder and find files server.yml and handler.js 7. Add your lambda code to handler.js and edit server.yml to deploy 8. Create and verify email for SES access in aws console -9. Create table 'contactForm' with partition key 'id' of 'Number' in dynamodb -10. Run 'sls deploy' and get 'api' for sending emails +9. Create table `contactForm` with partition key `id` of `Number` in dynamodb +10. Run `sls deploy` and get `api` for sending emails - params : - name - emails