https://github.com/kenvilar/serverless-rest-api
Core Service for a Notes REST API
https://github.com/kenvilar/serverless-rest-api
aws crud dynamodb javascript rest-api serverless
Last synced: 8 months ago
JSON representation
Core Service for a Notes REST API
- Host: GitHub
- URL: https://github.com/kenvilar/serverless-rest-api
- Owner: kenvilar
- Created: 2018-03-09T15:57:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T15:51:04.000Z (about 8 years ago)
- Last Synced: 2025-03-13T02:41:16.626Z (about 1 year ago)
- Topics: aws, crud, dynamodb, javascript, rest-api, serverless
- Language: JavaScript
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# serverless-rest-api
Core Service for a Notes REST API
* Install serverless globally (`npm install serverless -g`)
*
#####Commands
* `serverless config credentials --provider aws --key accesskey --secret secretaccesskey` (change the 'accesskey' and 'secretaccesskey' with your existing key credentials)
* `serverless create --template aws-nodejs --path kenService` (create a boilerplate for a service)
* `cd ` (get inside to the service folder)
* `sls deploy -v` (deploy verbose)
* (Once the deploy is finished, copy the endpoint url and then open it in browser)
* `sls deploy function --function hello` (specify to only deploy the function you've changed, in which case here is the hello function)