Skip to content

thetminnhtun/lambda-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lambda REST API

Requirements

Installation

  • git clone
  • Go project directoy
  • Create .env and .events
cp .env.example .env
cp events.example.js events.js
  • Install dependencies
npm install

Testing

Run in terminal

Get all posts

lambda-local -l src/index.js -h getAll -e src/events.js

Get specific posts

lambda-local -l src/index.js -h find -e events.js

Create posts

lambda-local -l src/index.js -h create -e src/events.js

Update posts

lambda-local -l src/index.js -h update -e src/events.js

Delete posts

lambda-local -l src/index.js -h delete -e src/events.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages