Skip to content

Travelport-Czech/aws-serverless-dynamodb-sandbox

Repository files navigation

AWS Serverless DynamoDB Sandbox

Example of the simple AWS serverless application with DynamoDB, Typescript and tests.

Contains

Source maps in AWS

  • XRAY

XRAY

Prepare development enviroment

  • Clone project
  • Install dependencies
> npm ci
  • Install local database
> npx sls dynamodb install
  • Run offline
> npm run offline
  • Send POST request to
POST http://localhost:3000/task

data:

{
    "description": "my value" 
}

Deploy

Run:

> AWS_ACCESS_KEY_ID=... AWS_SECRET_ACCESS_KEY=... npm run start

Todo

  • add endpoints for remove task, list tasks and update task
  • add tests and lint to GitHub actions

About

AWS Serverless DynamoDB Sandbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published