api-supply-demand-covid19

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

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

Go to latest
Published: Jul 12, 2020 License: MIT Imports: 1 Imported by: 0

README

API for Supply/demand COVID 19

You will need a postgres database to run the application. If you have docker installed, then you can create a database by running

docker-compose up db

Then, if you have go installed, you can build and run the server by running

go run main.go

Or if you don't have go installed, you can launch both the database and the server with docker compose

docker-compose up --build

Testing

You will need a postgres database to run some of the test. If you have docker installed, then you can create the test database by running

docker-compose up test-db

Then, run the test command, for example

go test ./model -v

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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