go-api-demo

command module
v0.0.0-...-3c47a5c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2018 License: Unlicense Imports: 9 Imported by: 0

README

GO API Demo

Demo REST API built with Golang

Before you start , make sure you have installed and configure your Go binary correctly.

Tech Stack

  • POSTMAN or Restlet for Testing
  • Go 1.11
  • Go Libraries
    • mux : Request Router and Dispatcher
    • mgo : MongoDB Driver
    • toml : Parse mongodb server configuration files

Walkthrough

Starting the REST API Server
go run main.go
Building an executabler
go build -o ./bin/output.exe .

./bin/output.exe (or double click on the exe file)

Execute your HTTP request @ http://localhost:8000

Reference

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL