Skip to content

sabeersulaiman/mmt-go-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages