Skip to content

nathanmkaya/walletAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Wallet API

Go Report Card Codacy Badge Codacy Badge Coverage Status Build Status

Write a simple wallet REST API.

We expect the following:

  1. account deposits
  2. account withdraws
  3. balance enquiry
  4. Mini statement

Added advantage:

  1. Using Go Modules
  2. Using Postgres.
  3. Unit tests
  4. Code coverage on the tests

Clearly document how to set up and run your application.

To run the app

go run ./cmd/server

To setup the app

go get ./...

To run tests

go test ./...

To run tests with coverage

go test ./... -cover