dsapoetra / btc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bitcoin transaction

Go Reference

This repository contains a web app that able to save transaction and view them hourly

Clone the project

$ git clone https://github.com/dsapoetra/btc.git
$ cd btc

Run the project

Easiest way is to use docker-compose

$ cd btc
$ docker compose up

Current version of the project is running on http://localhost:8080/swagger/

This version doesn't have create db creation script, so you need to create the database manually with db name is db migration is implemented in docker, will work after db created

Run the test

go test -v ./...

generate mock the test

make mock-gen

To develop list

  • add unit test
  • add integration test
  • add donation every hundredth transaction

About


Languages

Language:Go 93.4%Language:Shell 3.5%Language:Makefile 2.2%Language:Dockerfile 0.9%