Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Emengkeng committed Oct 13, 2023
1 parent d2e1eda commit e4d3fa7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# E-wallet-virtual-card-system
# Best E-wallet-virtual-card-system
This system allow users to fund their account, transfer funds and withdraw from their account, and also subscribe to virtual credit card

# Note
Application is still under developement, new features may be added weekly

# Features
- Basic Authentication (Register & Login)
- Get Profile
Expand All @@ -15,8 +18,17 @@ This system allow users to fund their account, transfer funds and withdraw from
- Fund Card
- Get Card Transactions
- Withdraw from card
-

# Tech Stack
- javascript
- nodejs
- mysql
- express

# Todo
[ ] Switch from using axios in the deposit and withdrawal, to using flutterwave rave package

[ ]
# API End Points
## Users
### Register
Expand Down Expand Up @@ -216,7 +228,6 @@ You will know server is running by checking the output of the command `npm start


# Running Tests
# Todo
```
npm test
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vcard_wallet",
"version": "1.0.0",
"description": "This system allow users to fund their account, transfer funds and withdraw from their account.",
"description": "This system allow users to fund their account, transfer funds and withdraw from their account, and also subscribe to virtual credit card",
"main": "app.js",
"scripts": {
"dev": "nodemon --exec babel-node ./server/app.js",
Expand Down
8 changes: 0 additions & 8 deletions server/controllers/card.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const create_Vcard = catchAsync(async (req, res) => {
errors: errors.array()
});
}
try {
// Get data from req
const {
amount,
Expand Down Expand Up @@ -123,13 +122,6 @@ const create_Vcard = catchAsync(async (req, res) => {
},
});

} catch (error) {
// handle error here
return res.status(httpStatus.BAD_REQUEST).json({
success: false,
error: error,
})
}
});

// Fund a virtual card
Expand Down

0 comments on commit e4d3fa7

Please sign in to comment.