Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down