this small project is my follow allong with the book Let's go further from Alex Edwards
Make sure you have go 1.16 installed with
go version
For livereload the too air is used, so make sure to install this on your development machine and also make sure the GOPATH is added to your PATH variable
# binary will be $(go env GOPATH)/bin/air
curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
Starting the dev server in development mode is simple just type the following command into your terminal
make dev