https://github.com/ericmcbride/go-dfw-testing
API used for GO-DFW meetup presentation
https://github.com/ericmcbride/go-dfw-testing
dallas dfw go golang harness postgres restapi restapi-example testing
Last synced: 2 months ago
JSON representation
API used for GO-DFW meetup presentation
- Host: GitHub
- URL: https://github.com/ericmcbride/go-dfw-testing
- Owner: ericmcbride
- Created: 2018-10-14T17:03:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-01T17:15:33.000Z (over 6 years ago)
- Last Synced: 2023-03-03T18:42:25.441Z (about 3 years ago)
- Topics: dallas, dfw, go, golang, harness, postgres, restapi, restapi-example, testing
- Language: Go
- Size: 1.44 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go DFW Meetup
### Testing A Restful API
This codebase is an example RESTFUL API for posting cars to a postgres database.
#### PRE REQS:
- Docker installed (https://www.docker.com/)
- Tested on MAC OS X
#### 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)