An open API service indexing awesome lists of open source software.

https://github.com/aayush-dhakal/serverless-node-rest-api-basic

Serverless Node.js Basic restapi
https://github.com/aayush-dhakal/serverless-node-rest-api-basic

aws aws-lambda dynamodb nodejs serverless serverless-framework

Last synced: 2 months ago
JSON representation

Serverless Node.js Basic restapi

Awesome Lists containing this project

README

          

## Serverless Node.js Basic restapi

### Routes:

post /todos

get /todos

get /todos/{id}

update /todos/{id}

delete /todos/{id}

### Deployment

`sls deploy`

### Requirements

- configure your AWS profile ie add secret and access key by editiing config and credentials by navigating to `cd ~/.aws`
- install serverless cli globally `npm i -g serverless`