Contents
Car Rental App is a desktop app that simulates a car rental booking system by allowing the user to book a car of their choice for a period of time.
- The user selects a car.
- The user selects the number of days they want to rent the car for.
- When the user clicks the Book button, the app calculates the total amount including the cost of car rental, optional extras costs, and 15% VAT.
To add a feature,
-
To get started, create a fork of this repository and cd into it.
gh repo fork "https://github.com/SDI1/car-rental-app/" cd car-rental-app/
-
Set up your local main branch to track the upstream main branch.
git branch -u upstream/main
-
Create your feature branch.
git checkout -b "add-new-feature"
-
When you're done coding, commit your changes.
git add . git commit -m "Add new feature"
-
Push your changes to the branch.
git push -u origin "add-new-feature"
-
Open a pull request.
gh pr create
-
Once your branch has been merged with the main branch, return to the main branch.
git checkout main
-
Your local main branch is now behind the remote branch. Pull the changes you just pushed upstream back into your main branch.
git pull
-
You no longer need the add-new-feature branch. Delete the dead branch from your local and remote fork.
git branch --delete "add-new-feature" git push --delete origin "add-new-feature"
That's it, you've added a new feature! To add another feature, simply restart from step 2.
- Add optional "Extras" such as theft/accidental damage insurance, child seat, and over border permit.
- Add registration screen.