Simple api to build and create an api using golang
Simple api to build and create an api using golang and a psql database. Built using this tutorial
To run the product you will need set up and download postgres
Once postgres in installed set up a user and database and add them to .env file in the pattern
.env file
TEST_DB_USERNAME="testUserName"
TEST_DB_PASSWORD="testPassword"
TEST_DB_NAME="testDatabaseName"
APP_DB_USERNAME="appUserName"
APP_DB_PASSWORD="appPassword"
APP_DB_NAME="appDatabaseName"
Run the below command in the terminal in the project directory
go test -v