- This project is a simple demo credit application for learning NodeJs, Typescript and Knexjs.
AUTHENTICATION
- Registration: This is registration route [it takes the name, email and password param].
- Login: This is login route [it takes the email and password param].
- Logout: This route removes the stored token and logs out the user.
Profile
- Dashboard: This route displays the user information.
- Wallet Balance: this route shows the user's wallet balance.
- Transaction History: this route displays all the transactions made by the user.
WALLET
- Create/Activate Wallet: This route activates the wallet system of the user
- Fund Wallet: This route funds the user's wallet with the amount. it takes in [amount param].
- Transfer Fund: This route transfers the user's fund into the recipient account with the amount. it takes in [id of the recipient and amount param].
- Withdraw Fund: This route withdraws specified amount from the user's wallet. it takes the [amount param].