Skip to content

praneshkmr/golang_gorillaMux_mGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Lang REST Server using Gorilla Mux and mGo

A REST Server created using Go Lang with the Gorilla Mux as the Router and MongoDB as the Database. MGo driver is used to connect to mongoDB from the Server

Tech

This REST Server uses the Following open source projects to work properly:

  • Gorilla Mux - A powerful URL router and dispatcher for golang
  • mGo - The MongoDB driver for Go
  • Negroni - Idiomatic HTTP Middleware for Golang

Start

Provide the MongoDB Host details in the Configuration File located under conf folder

To start the server, install the Dependencies and run the following command.

$ go run main.go

Test

To test the User CRUD REST API's, run the following command.

$ go test test/user_api_test.go 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages