MicroGo is a REST API built with Go and MongoDB. It is a simple API that allows you to create, read, update and delete users.
- Clone the repository
- Install the dependencies
- Run the server
git clone
cd microgo
go get
go run main.gocurl -X POST -H "Content-Type: application/json" -d '{"name":"Fillonit","location":"Kosovo", "title": "Software Engineer"}' http://localhost:8080/userscurl -X GET http://localhost:8080/userscurl -X GET http://localhost:8080/users/{id}curl -X PUT -H "Content-Type: application/json" -d '{"name":"Filloniti","location":"Kosovo", "title": "Software Engineer"}' http://localhost:8080/users/{id}curl -X DELETE http://localhost:8080/users/{id}