Giter VIP home page Giter VIP logo

mongodbproject's Introduction

mongodbProject

Transit Application Database in Mongodb Business statement: We are a cab service provider and have to store information related to company’s drivers, Customers, each trip the customer takes and the car which the driver drives. Following are the business rules and rationale for the model: Business Rules & Rationale: For simplicity, Cab services are limited to Atlanta region. Cab service provides cars to the drivers. Customer can take an individual or shared ride. Car can be shared between maximum of 4 customers. Customer can only book for himself in case of shared ride. There is only one type of car (eg. Sedan) available for booking. We store each customer’s name, Unique customer ID, address, contact number, Email ID, password. Each customer has only 1 unique credit/debit card associated with it. Payment mode for a trip is through credit/debit card only. We will be keeping track of payment made for a trip. Card details comprises of Card Id, Card number, CVV, Expiry date, zip code, Name on Card. A customer can book a single trip at a time. He may book trips as many times as he wants. A Route can have multiple cars but a car can be selected only for one route at a time. A route comprises of one or many trips. A trip will have a source location, a destination location, distance between source and destination and a fare. Fare for a trip = base fare + (distance travelled * cost/mile) Where, Base fare (Non-Shared Trip) = $ 5 Base fare(Shared Trip) = $ 3 Cost/mile (constant value) = $ 1 A driver can drive any car and a car can be driven by any driver. A driver can take none or many trips. Each driver will have a unique driver ID, driver name, password, Driving License number, Contact number, Email ID. Each car has a unique VIN (vehicle identification number), Registration number, car color, car model name. A route has a unique Car ID and a unique Driver ID

mongodbproject's People

Contributors

mona19 avatar adityagogoi avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

adityagogoi

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.