Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.
/ serverless-dynalite Public archive

Serverless plugin to run Dynalite locally to handle DynamoDB development. Can watch for table config changes.

License

Notifications You must be signed in to change notification settings

nearst/serverless-dynalite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-dynalite

A Serverless plugin to run Dynalite locally to handle DynamoDB development. This is heavily inspired by the serverless-dynalite plugin by Scott Donnelly.

Features:

  • Integrates with serverless-offline.
  • Seeds Tables from a js file
  • Creates Tables from your Resources

Getting Started

Install the node package with npm or yarn

npm install @nearst/serverless-dynalite --save-dev
yarn add -D @nearst/serverless-dynalite

Once the package is installed add it to the plugins section of your serverless.yml. The serverless offline plugin also needs to be installed

plugins:
  - '@nearst/serverless-dynalite'
  - serverless-offline
custom:
  # This is optional
  dynalite:
    region: localhost
    port: 8000
    dir: ./
    seed: 
    - table: table-1
      source: ./seed/table1.js

About

Serverless plugin to run Dynalite locally to handle DynamoDB development. Can watch for table config changes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published