Skip to content

Demo credit Wallet App built with Node, Typescript, Knex js.

Notifications You must be signed in to change notification settings

olad5/demo-credit

Repository files navigation

About

Demo Credit is a mobile lending app that requires wallet functionality. This is needed as borrowers need a wallet to receive the loans they have been granted and also send the money for repayments built with Node js, Express, TypeScript and Mysql

It has the following functionalities

  • A user can create an account
  • A user can fund their account
  • A user can transfer funds to another user’s account

ER diagram

Installation

  • Clone this repo

    git clone https://github.com/olad5/demo-credit.git

Running the project

  1. Install and start Docker if you haven't already.
  2. Copy the .env template file. Input the passwords and app secrets.
cp .env.sample .env
  1. Build and run the image to run the backend services.
docker compose up --build
  1. Run migrations
  npx knex migrate:latest --knexfile=src/shared/infra/database/knex/knexfile.ts 
  1. Seed database
  npx knex seed:run  --knexfile=src/shared/infra/database/knex/knexfile.ts  

You can visit the app by going to http://localhost:5300.

Run unit tests

  npm run test:unit

Built with

Backend

About

Demo credit Wallet App built with Node, Typescript, Knex js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published