Git Product home page Git Product logo

jobs-master's Introduction

  • πŸ‘‹ Hi, I’m @azizmashkour
  • πŸ‘€ I’m interested in Rails, JavaScript and React.
  • 🌱 I’m currently learning how to impact community using a startup.
  • πŸ’žοΈ I’m looking to collaborate on digital transformation, impacting community and more...
  • πŸ“« How to reach me https://www.linkedin.com/in/aziz-mashkour

jobs-master's People

Contributors

azizmashkour avatar

Watchers

 avatar  avatar

jobs-master's Issues

🟠 Level 4

We now want to know how much money must be debited/credited for each actor, this will allow us to debit or pay them accordingly.

🟑 Level 3

Description

The car owner now wants her money. We decide to take a 30% commission on the rental price to cover our costs and have a solid business model.

The commission is split like this:

  • half goes to the insurance
  • 1€/day goes to the roadside assistance
  • the rest goes to us

Compute the amount that belongs to the insurance, to the assistance, and to us.

🟒 Level 1

Description

The car owner chooses a price per day and price per km for her car. The driver then books the car for a given period and an approximate distance.

The rental price is the sum of:

  • A time component: the number of rental days multiplied by the car's price per day
  • A distance component: the number of km multiplied by the car's price per km

πŸ”΄ Level 5

Description

Some drivers want to be able to buy additional features after their booking.

Here are the possible options:

  • GPS: 5€/day, all the money goes to the owner
  • Baby Seat: 2€/day, all the money goes to the owner
  • Additional Insurance: 10€/day, all the money goes to Getaround

This is the final level, now would be a good time to tidy up your code and do a last round of refactoring :)

πŸ’‘Refactor, make code reusable and, write cleaner code

Description

The goal of this PR is to make the source code the cleanest possible and avoid redundant code everywhere.
This refactoring may include or affect:

  • the json file reading/writing methods
  • the reduction on pricing per day methods
  • the total number of days methods
  • and possibly more...etc

🟒 Level 2

Description

To be as competitive as possible, we decide to have decreasing pricing for longer rentals.

New rules:

  • price per day decreases by 10% after 1 day
  • price per day decreases by 30% after 4 days
  • price per day decreases by 50% after 10 days

Adapt the rental price computation to take these new rules into account.

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.