Service | Master | Develop |
---|---|---|
Travis CI status | ||
Coveralls |
API for the Banka app. A light-weight core banking application that powers banking operations. It is built in Node/Express and uses data structures to store data in memory (No use of a database).
- Banka DOC
- Node Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
In your terminal
- Clone the repo locally to your machine by running
git clone https://github.com/DrKimpatrick/Banka_API.git
- change your current directory (
cd
) to wherever you cloned the app in 1 above.
- Install dependencies
npm install
node index
npm test
End Point | Verb | Use |
---|---|---|
/api/v1/auth/signup |
POST | Create user account |
/api/v1/auth/login |
POST | User login |
/api/v1/account |
POST | Create Bank account |
/api/v1/status/:accountNumber |
PATCH | Updates account status by staff/admin |
/api/v1/transactions/:accountNumber/credit |
POST | Credits a bank account by a staff |
/api/v1/transactions/:accountNumber/debit |
POST | Debits a bank account by staff |
/api/v1/status/:accountNumber |
DELETE | Deletes a bank account |
/api/v1/account/history |
GET | Gets user account transaction history |
/api/v1/users |
GET | Retrieves all user accounts |
- Express A minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications
A Special thanks goes to
- Andela for having given me an opportunity to participate in the boot camp, without them , this application wouldn't have existed