https://github.com/thothom/example-dynamodb
Example project for @thothom/dynamodb
https://github.com/thothom/example-dynamodb
thothom
Last synced: over 1 year ago
JSON representation
Example project for @thothom/dynamodb
- Host: GitHub
- URL: https://github.com/thothom/example-dynamodb
- Owner: thothom
- Created: 2021-11-14T17:23:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-30T13:49:37.000Z (about 4 years ago)
- Last Synced: 2025-01-16T15:58:08.004Z (over 1 year ago)
- Topics: thothom
- Language: TypeScript
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# ThothOM DynamoDB Example
[](https://github.com/techmmunity/eslint-config)
Example project of `@thothom/dynamodb`.
See the docs at: [https://thothom.com/docs/plugins/dynamodb](https://thothom.com/docs/plugins/dynamodb)
## How to test
- Run `yarn` to install the dependencies
- Create a `.env` file based on `.env.sample`
- Add the AWS env vars to `.env` file
- Create a table `example` with the primary key `id` at AWS DynamoDB
- Run `yarn start` to start the app
- Done! You can start to play now :)
| Route | Method | Description |
| ----------------------- | -------- | ----------- |
| `http://localhost:3000` | `POST` | Create |
| `http://localhost:3000` | `PUT` | Update |
| `http://localhost:3000` | `GET` | List |
| `http://localhost:3000` | `DELETE` | Delete |