Skip to content
Bootstrap project to run HTTP REST API on GO lang with MongoDB and Redis
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
Dockerfile
Makefile
README.md
docker-compose.yml
main.go

README.md

GOMONRED

Bootstrap project to run HTTP REST API on GO lang with MongoDB and Redis

API Endpoints

GET /cars

[
  {
    "name": "Golf",
    "brand": "VW"
  },
  {
    "name": "Polo",
    "brand": "VW"
  },
  {
    "name": "Uno",
    "brand": "Fiat"
  }
]

POST /cars

{
  "name": "Lancer Evolution",
  "brand": "Mitsubishi"
}

Requirements

  • Docker Compose

RUN

docker-compose up

http://localhost:8080/cars

You can’t perform that action at this time.