Fuber is RestApi it can be used to book cab.
- Install Go and set gopath.
- Open Terminal and paste this command git clone https://github.com/roushanj/fuber
- cd fuber/
- create Database and your credentials in dbPool/db.go and save it.
- Then Add cab driver lat,long, name and cab type as in normal or pink(premium) in table cab_location.
- Now you are set to use the api locally to do that just run this command go run main.go (eureka!).
-
Can be found Here -
-
https://docs.google.com/document/d/16Jf1d48KLfIi5jgmMZ0W6WiTnyaF9Niu-D8zP6FQNhc/edit?usp=sharing
- You can test api using Swagger or Postman.
- Or you can always Change Value in main_test.go and run go test command