Skip to content

sarweshmaharjan/api-simulator

Repository files navigation

API Simulator

Status Version

Table of Contents

Introduction

The API simulator project replicates API integration responses, primarily Truepill and Thriftywhite. It is designed to expedite testing and debugging within our system.

Getting Started

Prerequisites

List any prerequisites or dependencies required to run your project. Include links or installation instructions if needed.

Installation

  1. Clone the repository:

    git clone git@github.com:sarweshmaharjan/api-simulator.git
    cd api-simulator
  2. Start the project

    make run #To create docker instance of postgres.
    make update-go #To set up go version and install
  3. Configure CAPI:

  • Set "truepill.apiUrl" to "http://localhost:9999".
  • Ensure feature.IsCopayCallbackEnabled() is set to true for copay callback functionality.

Project Structure

├── adrs
│   └── index.md
├── api
│   ├── handler.go
│   └── truepill.go
├── common
│   └── common.go
├── config
│   └── config.go
├── docker-compose.yml
├── Dockerfile
├── go.mod
├── go.sum
├── main.go
├── Makefile
├── README.md
├── storage
│   └── db.go
└── types
    └── truepill.go

Contributing

About

Phil API Simulator for Truepill and Thrifty White

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors