Go Rest API with generic CRUD
- Install air if you haven't already
go install github.com/cosmtrek/air@latest
2a. On Windows, install a version of MinGW to C:/mingw64 (for go-sqlite3) 2b. On Mac, add the following to .zshrc (or equivalent):
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$PATH
- Run the server with
bash ./develop.sh
(or build with./build.sh
) - If using Thunder Client in VS Code, import thunder-client.json and test our the routes