Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 15 days 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T15:51:04.000Z (almost 7 years ago)
- Last Synced: 2024-11-18T22:11:29.322Z (3 months ago)
- Topics: aws, crud, dynamodb, javascript, rest-api, serverless
- Language: JavaScript
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- 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)