/fuber

Rest API for Booking cab and keep record in your database

Primary LanguageGoGNU General Public License v3.0GPL-3.0

fuber

Fuber is RestApi it can be used to book cab.

How To Use :-

  1. Install Go and set gopath.
  2. Open Terminal and paste this command git clone https://github.com/roushanj/fuber
  3. cd fuber/
  4. create Database and your credentials in dbPool/db.go and save it.
  5. Then Add cab driver lat,long, name and cab type as in normal or pink(premium) in table cab_location.
  6. Now you are set to use the api locally to do that just run this command go run main.go (eureka!).

Api Documentation :-

Testing :-

  1. You can test api using Swagger or Postman.
  2. Or you can always Change Value in main_test.go and run go test command