This project is an implementation of retrieving user balance and performing user credit and debit transactions using DynamoDB and TypeScript.
- TypeScript v5.4
- Node.js v20.11
- npm v10.2
-
Clone the repository:
git clone <repository-url>
-
Navigate to the project directory:
cd dynamodb-transactions
-
Replace the placeholders for your DynamoDB full access keys in the
.env
file, along with the region of your DynamoDB. -
Install dependencies:
npm install
-
Spin up the DynamoDB table by running:
npm run spininfra
-
Start the project:
npm start
index.ts
is the entry point where you can explore and test the implemented functions.
Ensure to replace your DynamoDB full access keys and region in the .env
file before running the project.