Skip to content

HansiMou/nyu-devops-BankingSystem

Repository files navigation

Banking System

Build Status Codecov

This system is designed for a banker.

https://nyu-bank-system.mybluemix.net/

Attributes

id: auto-generated by database incrementally

name: non-empty string

balance: 2-decimal non-negative number

accounttype: 0, 1, 2, 3

active: true or false

created_time: string in time format

last_updated_time: string in time format

Functionalities

1.Create a new account

post: /accounts

fields: name, balance, accounttype(optional), active

2.Update an account

put: /accounts/<id>

fields: name, balance, accounttype(optional), active

3.Retrive all accounts

get: /accounts

4.Retrive the account by id

get: /accounts/<id>

5.Retrive the account by name

get: /accounts?name=<name>

6.Delete an account

delete: /accounts/<id>

7.Deactivate an account

put: /accounts/<id>/deactivate

8.Retrive all accounts by active

get: /accounts?active=true

get: /accounts?active=false

9.Retrive all accounts by accounttype

get: /accounts?type=0

get: /accounts?type=1

get: /accounts?type=2

get: /accounts?type=3

About

devOps hw1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy