GitHunt
ER

ericmcbride/go-dfw-testing

API used for GO-DFW meetup presentation

Go DFW Meetup

Testing A Restful API

This codebase is an example RESTFUL API for posting cars to a postgres database.

PRE REQS:

Make Commands (ran from root of project):

  • Make build-linux (will build linux binary to be served in docker)
  • Make test (docker compose build/docker-compose up/test) <- Spins up postgres and app
  • Make run (docker-compose up project)
  • Make test-func (Runs functional tests)

Languages

Go96.5%Makefile2.4%TSQL0.8%Dockerfile0.4%

Contributors

Created October 14, 2018
Updated September 1, 2019
ericmcbride/go-dfw-testing | GitHunt