coin-price-backend

module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: MIT

README

coin-price-backend

last commit license version

How To Run This Project

Make Sure you have run the coins.sql in your postgres

Since the project already use Go Module, I recommend to put the source code in any folder but GOPATH.

Run the Testing
$ make test
Run the Applications

Here is the steps to run it with docker-compose

#move to directory
$ cd workspace

# Clone into YOUR $GOPATH/src
$ git clone https://github.com/noah-blockchain/coin-price-backend.git

#move to project
$ cd coin-price-backend

# Build the docker image first
$ make docker

# Run the application
$ make run

# check if the containers are running
$ docker ps

# Execute the call
$ curl localhost:10500/price/NOAH

# Stop
$ make stop

Directories

Path Synopsis
cmd
internal
api
env

Jump to

Keyboard shortcuts

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