Steps to run the example are :
-
Run the docker image
docker run --name gofr-pgsql -e POSTGRES_DB=cats -e POSTGRES_PASSWORD=password -p 2006:5432 -d postgres:latest
-
Now on the project path
zopsmart/gofr
run the following command to load the schemadocker exec -i gofr-pgsql psql -U postgres cats < .github/setups/setup.sql
-
Run server
go run main.go