Giter Site home page Giter Site logo

codacy-badger / banka_api_ds Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drkimpatrick/banka_api_ds

0.0 0.0 0.0 6.46 MB

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).

Home Page: https://bankaapi.herokuapp.com/api/v1/

JavaScript 100.00%

banka_api_ds's Introduction

Codacy Badge Maintainability BCH compliance

Service Master Develop
Travis CI status Build Status Build Status
Coveralls Coverage Status Coverage Status

Banka_API

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).

demo image

Hosted Apps

Requirements

  • Node Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Getting Started

In your terminal

  1. Clone the repo locally to your machine by running git clone https://github.com/DrKimpatrick/Banka_API.git
  2. change your current directory (cd) to wherever you cloned the app in 1 above.

Development setup

  • Install dependencies
    npm install

Run the application

node index

Running tests

npm test

API REST End Points

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

Built With

  • Express A minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications

Acknowledgments

A Special thanks goes to

  1. Andela for having given me an opportunity to participate in the boot camp, without them , this application wouldn't have existed

banka_api_ds's People

Contributors

drkimpatrick avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.