This is a Project to focus my learning path on go-lang for the web. Some of the initial Ideas are from This tutorial/blog which was very clear to get started.
Build Steps:
- Check out the Code from the repository
-
This should start a postgres instance on Docker
cd docker sh start-postgres-on-docker.sh
- run the exports in the
docker/dbparams_env.sh
-
$ cd ..
-
$ go build -v -o bin/go-mux-api
-
$ bin/go-mux-api user=postgres password=pgpass dbname=postgres sslmode=disable
- Open a Browser and hit all the end points as per the routes created in the
pkg/handlers/productHandlers.go