architect-examples / arc-example-persist-data

Example persisting data with DynamoDB and .arc
https://arc.codes/guides/data
4 stars 1 forks source link
arc aws aws-dynamodb aws-lambda docs example

⚠️ This repository is archived. For an updated list of examples see arc.codes/examples.

Example for arc.codes Docs: Persisting Data

Running locally

  1. git clone git@github.com:arc-repos/arc-example-persist-data.git
  2. npm i
  3. npx hydrate
  4. npx sandbox
  5. open http://localhost:3333

Deploying to AWS

  1. Follow these steps to get .arc and AWS credentials setup https://arc.codes/quickstart
  2. npx create
  3. npx deploy
  4. ...
  5. profit

Companion tutorial here: https://arc.codes/guides/data

Companion tutorial source: https://github.com/arc-repos/arc.codes/blob/master/src/shared/en/aws/guides-data.md