ericmcbride / go-dfw-testing

API used for GO-DFW meetup presentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

API used for GO-DFW meetup presentation


Languages

Language:Go 96.5%Language:Makefile 2.4%Language:TSQL 0.8%Language:Dockerfile 0.4%