Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Serverless Q&A template API. Written in NodeJS and deployed to AWS. Designed to be implemented as part of a distributed service. Exploits Lambda, API Gateway, Cloudwatch & Dynamodb.

Notifications You must be signed in to change notification settings

jacksoncharles/serverless-qa-template-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restful Lambda API - post-service

An AWS Lambda solution written using the Serverless Toolkit with a DynamoDB backend.

The service includes pagination, key/value searches plus a collection of common needs including but not limited too, order/by and limit clauses.

Installation & Deployment

NOTE: To deploy from your desktop you must have an existing AWS account and command line access.

Firstly, ensure you have installed the Serverless Toolkit.

npm install serverless -g

Then, from the project root folder simply enter the following command to provision and deploy your sevice to AWS.

sls deploy

EndPoints

NAME URL VERB DESCRIPTION
CREATE /posts POST Create a new item in permanent storage
LIST /posts GET Retrieve a paginated listing from permanent storage
GET /posts/:id GET Retrieve a individual item using the id passed as a route parameter
UPDATE /posts/:id PUT Update details of a post by providing a full array of model data
EDIT /posts/:id PATCH Update details of a post by providing only those elements you wish to update
DELETE /posts/:id DELETE Remove an item from permanent storage

Issues

Please report any bugs on the Issue Tracker.

About

Serverless Q&A template API. Written in NodeJS and deployed to AWS. Designed to be implemented as part of a distributed service. Exploits Lambda, API Gateway, Cloudwatch & Dynamodb.

Resources

Stars

Watchers

Forks

Packages

No packages published