Code Monkey home page Code Monkey logo

fuberapi's Introduction

Fuber

A RESTful API service similar to a cab booking service with user registration,driver registration,booking and fare calculation.

Used Laravel as the framework and MySQL as the database

Includes:- · Fleet of cabs where each cab has a location, determined by it’s latitude and longitude.

· A customer can call one of the taxis by providing their location, and assignation of the nearest taxi to the customer.

· Some customers are particular that they only ride around in pink cars, for hipster reasons.

· When the cab is assigned to the customer, it can no longer pick up any other customers.

· If there are no taxis available,rejection of the customers request.

· The customer ends the ride at some location. The cab waits around outside the customer’s house, and is available to be assigned to another customer.

· Used Pythagorus theorem instead of Haversine's formula.

· The price is 1 dogecoin per minute, and 2 dogecoin per kilometer. Pink cars cost an additional 5 dogecoin.

· A bootstrapped front end with filtering capabilities for the total cars available.

Dev Setup

  • Install Composer and Laravel (Check Laravel Docs)
  • Clone project: git clone [project-git-url]
  • Install dependencies: composer install
  • Create your .env file and use .env.example to configure the settings
  • Create a database and put the name also into the .env file
  • Run migrations to create the tables in the database: php artisan migrate
  • Run dev server: php artisan serve

fuberapi's People

Contributors

arju88nair avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fuberapi's Issues

Not working api

Hi
Please support me, how will work this api ?
i have setup in my local xampp htdocs , but not working.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.