Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 690 Bytes

File metadata and controls

39 lines (28 loc) · 690 Bytes

Satoshi Exchange API

The Sample of Crypto Exchange

Getting Started

$ cp .env.example .env # Only at the beginning.
$ make up

Feature

  • Authentication(Firebase)
  • REST API
  • DB Transaction
  • Auto Migration
  • Unit Test
  • Integration Test(Not all APIs, but some)

Unit Test

TEST_PATH is paths under /tests/unit

example

$ make unit_test TEST_PATH=/lib/common_test.go

Integration Test

TEST_PATH is paths under /tests/integration
It is necessary to launch docker compose for testing in advance.

example

$ make up_test # launch docker compose for testing
$ make integration_test TEST_PATH=/controllers/trade_controller_test.go