Resources on how to build complete Golang applications are scarce and not easily found. Coming from a Node.js background, I have built this project to demo a CRUD application in which we can add and delete users with complete frontend integrations following best practises of the Web Development world.
- Install Golang(v 1.11.3 or higher), setup
GOPATHand make sureGOPATH/binis in thePATHenv variable. - Install
beegocli tool. - Clone this project in a folder outside
GOPATH(because we are using Go Modules). cdinto the project.- Install all dependencies with
go get -u. - Rename
.env.exampleto.envand provide the necessary information like Database URI etc. - Start server with
bee run.