A simple CRUD REST API designed using Golang and MongoDB.
go build && ./goapi
Route | Description | Body |
---|---|---|
GET / | Get all applications | |
POST / | Create new application | Application |
GET /{id} | Get a single application | |
PUT /{id} | Update a single application | Application |
DELETE /{id} | Delete a single application |
{
"company": {
"name": "",
"location": "",
},
"status": ""
}