Skip to content

Hussainzz/Multi-Asset-Wallet

Repository files navigation

Multi-Asset Wallet 💸

a system where users can store balances for

different assets like cryptocurrency tokens (e.g., Bitcoin, Ethereum) and fiat currencies (e.g., USD, EUR).

TechStack ⚒️

NodeJS, ExpressJs, TypeScript, PrismaORM, MySQL, Redis, Bull Queue

⏭️

Populate .env

PORT=8002
NODE_ENV=development
DATABASE_URL=mysql://root:<password>@127.0.0.1/multiasset
// This will just spin up redis service
> docker-compose up -d

Run App

> yarn db-init
> yarn dev

Run Tests

// Unit
    yarn test

// e2e
    yarn test:all

Screenshot 2024-03-18 at 11 52 31 PM

Swagger Doc

http://localhost:8002/docs

Test API Key (Make sure db is seeded)

Headers
wallet-x-key: test-jim-api-key

multi-asset

Bull Queue Board

http://localhost:8002/admin/queues

image

image