- Clone the repository
git clone https://github.com/fajarihsan21/go-backend.git
- Install dependencies
go get -u ./...
# or
go mod tidy
- Run the app
go run *.go serve
# or
go run main.go serve
You are all set!
- GET
/users/
(get all users) - GET
/vehicles/
(get all vehicles)
- Golang
- gorilla/mux: for handle http request
- Postgres: for DBMS