Skip to content

dna-technology/dna-task-livecoding-golang-payments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How should I start

  1. Run tests - make test
  2. Check if application starts make run

Scenario

Let’s imagine you are working on API for backend of online payment system. The actors are: users (festival participants), merchants, event organiser. We want to enable backoffice operations to the event organiser.

Currently implemented:

  • Users can make a payment (with a virtual currency) to a specific merchant.
  • Our system has payment log.
  • It means that information about payments are stored in database.
  • This data can be used for reporting.

Tasks

Task 1:

Please make a code review of the currently implemented solution.

Task 2:

Add new endpoint which give total income for payments for selected time period for given merchant.

About

dna-task-livecoding-golang-payments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •