Bank with Banka today
A light-weight core banking application that manage all bank account operations. A bank that is readily available to you anywhere you go. Allows you to perform most banking activities, view previous banking transactions, know the state of you financies anywhere you are.
After cloning the repository, open the server directory in the banka app before installing package manager:
git clone https://github.com/henryade/Banka.git
cd Banka/server
npm install
- clone repository
- cd Banka/server
- npm install
- start editing...
- Use postman to test all endpoints
Route Testing prefix = localhost:(portname)api/v1
Functionalities | Route Testing |
---|---|
Sign up for an account | POST /auth/signup |
Sign into created account | POST /auth/signin |
Create a bank account | POST /accounts |
View previous account transactions | GET /accounts/:account-number/transactions |
View a specific account transaction | GET /transactions/:transaction-id |
Functionalities | Route Testing |
---|---|
Credit a user account | POST /transactions/:account-number/credit |
Debit a user account | POST /transactions/:account-number/debit |
Functionalities | Route Testing |
---|---|
View a list of all bank accounts | GET /accounts |
View all active user account | GET /accounts?status=active |
View all dormant user account | GET /accounts?status=dormant |
View accounts owned by a specific user | GET /user/:user-email-address/accounts |
View a specific user account | GET /accounts/:account-number |
Delete a specific user account | DELETE /accounts/:account-number |
Activate a user account | PATCH /accounts/:account-number |
Deactivate a user account | PATCH /accounts/:account-number |
Functionalities | Route Testing |
---|---|
Create a staff account | POST /user |
Create an admin account | POST /user |
The build is run locally. To run build, copy the contents of the .babelrc file in the build folder and use it to replace the contents of the .babelrc file in the server folder. .babelrc in build folder
{
"presets": ["env"],
"plugins": ["transform-object-rest-spread"]
}
Then run the build command in the scripts section below from the server repository. After the command is done, undo the copy to get the initial contents of the .babelrc file in the server. OR paste this
{
"presets": ["@babel/preset-env"],
}
in the file.
npm run dev ------ To run app in development
npm run test-dev --- To run development testing
npm run build ------ To build production folder
npm test ----------- To test production ready app
npm start -----------To run production ready app
- Nodejs
- Express
- joi - validation
- Eslint - airbnb style
- Babel
Project links:
-
Project homepage: https://henryade.github.io/Banka/
-
Repository: https://github.com/henryade/Banka
-
Heroku Deployment: https://bankaproject.herokuapp.com/
-
Pivotal Tracker User Stories: https://www.pivotaltracker.com/n/projects/2320074
- In case of sensitive bugs like security vulnerabilities, please contact clasiqaas@email.com directly.
-
Helpful links:
"The code in this project is licensed under ADC Licence."