Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.05 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.05 KB

Repo for INGO-MMT Golang Testing - Team Coding

Please try to follow the Initial Setup before we start the session so that everyone is able to follow through.

Project Outline

We are building a banking system (believe it!). We have accounts, an account holder can:

  • create an account.
  • deposit money.
  • withdraw money.
  • see their balance.

And the interface is a REST API. We are using the Gin framework for building these functionalities. We have the following APIs:

  • POST /api/v1/accounts (Creates an account)
  • PUT /api/v1/accounts/{accountId}/deposit (Deposit money)
  • PUT /api/v1/accounts/{accountId}/withdraw (Withdraw money) - intentionally bugged
  • GET /api/v1/accounts/{accountId} (See the account info, which will also have the balance)

We do have some bugs here and there and code is not tested. We will close these in the meeting. Please go through the project and familiarise if you get time.