top
(README.md)
# cmpe273-assignment3

Steps to Run

1.Add imported packages github.com/julienschmidt/httprouter,github.com/r-medina/go-uber,github.com/jmoiron/jsonq,gopkg.in/mgo.v2
2.Run command go run assignment3.go
3.Open PostMan or AdvancedREST Client
4.Try POST as http://localhost:5555/trips
5.Try GET as http://localhost:5555/trips/:tripid
6.Try PUT as http://localhost:5555/trips/:tripid/request

Imports 5 package(s) ΒΆ

  1. github.com/jmoiron/jsonq
  2. github.com/r-medina/go-uber
  3. gopkg.in/mgo.v2
  4. github.com/julienschmidt/httprouter
  5. gopkg.in/mgo.v2/bson