Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dispatch Merchant Service

Quick Start

Setting up the Environment

To start off, copy the sample.env file:

cd api
cp sample.env .env

And update the values based on your current setup.

Running the Service

To run the application locally, use the following command:

cd api
go run ./delivery/main.go

To build the project, use the following command:

go build -o ./path/filename ./delivery

The build can then be executed using:

./path/filename 

Development

In the api/ directory, config for fresh can be found. This package allows the application to re-build and re-launch whenever changes to the tracked files are made. To use fresh, download the package on your local machine and execute the fresh command in the root of the project.

go install github.com/zzwx/fresh@latest

In the root of the project:

fresh

About

Merchant, API Key and Webhook Handlers for the Dispatch Platform

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

Contributors

Languages