A basic banking API service with the following features:
- Login
- Deposit money
- Withdraw money
- Transfer funds to other users
- See a list of their transactions
- See their wallet
- See their profile
- Get all users
- Get single user
- Add users
- Delete users
- Reverse transactions(transfer)
- Disable a user’s account (update user)
- Get all users transaction
Add ".env" file to "/src/config/" and update the values/settings to your own, check "/src/config/sample_env.txt" for sample
npm install
# Run in dev mode
npm run dev
# Run in prod mode
npm start
To seed the database with only "admin" users from the "src/_data" folder, run
# Import all data
node src/seeder -i
# Destroy all data
node src/seeder -d