Skip to content

housinganywhere/payouts-service-interview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Payout service

Payout service is responsible for creating payout information in the database. Payouts are created after booking is made and tenant paid the amount to advertiser. Several payouts for the same booking could be created, for example the booking price, deposit and utilities.

Language Preference

The code is written on Go. If you prefer other language, you can rewrite it on the language of your own. The repository utilizes SQLite, if you decide to create your own implementation, use it as well. You can use the SQL queries from repo.go.

Purpose

This is a simple repository that reads the data from the file and write it to the local database. You will be asked to do some modifications for this code during the interview. Please have it (or your version) prepared on your machine before the interview.

How to run

  • Clone repository
  • Install Golang on your machine
  • Run go get ./... to load the dependencies
  • Run go run .

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages