/goapi

simple CRUD REST api deigned using Golang and MongoDB

Primary LanguageGo

GoAPI

A simple CRUD REST API designed using Golang and MongoDB.

Requirements

How to Run

go build && ./goapi

Routes

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

Objects

Application
{
    "company": {
        "name": "",
        "location": "",
    },
    "status": ""
}