obol

command module
v0.0.0-...-e9fdc67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 26 Imported by: 0

README

Obol

Actions codecov Go Report GoDocs

The obol was a form of ancient Greek currency and weight

Obol is a microservice API for multiple cryptocurrency rates.

Deploy

Docker

To deploy to docker, simply pull the image

docker pull kindynos/obol:latest

Run the docker image

docker run -p 8080:8080 kindynos/plutus:latest 

Building

To run Obol from the source code, first you need to install golang, follow this guide:

https://golang.org/doc/install

To run Obol simply clone de repository:

git clone https://github.com/grupokindynos/obol && cd obol

Install dependencies

go mod download

Build it or Run it:

go build && ./obol
go run main.go

Make sure the port is configured under en enviroment variable PORT=8080

API Reference

Documentation: API Reference

Testing

Simply run:

go test ./...

Contributing

To contribute to this repository, please fork it, create a new branch and submit a pull request.

To add a new coin, please add a new coin configuration under models/coin-factory/coins.go

To add a new exchange please add it to services/exchanges/ under a new folder with same functions and test cases.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL