diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..2b26649 Binary files /dev/null and b/.DS_Store differ diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..bfb5fbf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,31 @@ +--- +name: ๐Ÿ› Bug Report +about: Report a bug to help us improve CabRental +title: "[BUG]" +labels: bug +assignees: '' +--- + +**Describe the bug** +> A clear and concise description of what the bug is. + +**To Reproduce** +``` +Explain bug encounter! +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '...' +3. Scroll down to '...' +4. See error +``` + +**Expected behavior** +> A clear and concise description of what you expected to happen. + +**Screenshots** +> If applicable, add screenshots to help explain your problem. + +**Additional context** +> Add any other context about the problem here. + + diff --git a/.github/ISSUE_TEMPLATE/documentation_update.md b/.github/ISSUE_TEMPLATE/documentation_update.md new file mode 100644 index 0000000..1220442 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation_update.md @@ -0,0 +1,16 @@ +--- +name: ๐Ÿ“ Documentation Update +about: Suggest improvements or additions to the documentation +title: "[DOCS]" +labels: documentation +assignees: '' +--- + +**Describe the documentation update** +> A clear and concise description of the documentation that needs to be updated or added. + +**Why is this needed?** +> Explain why this documentation update is important. + +**Additional context** +> Add any other context or screenshots about the documentation update here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..7dd71fc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,22 @@ +--- +name: ๐Ÿ’ก Feature Request +about: Suggest an idea for CabRental +title: "[FEATURE]" +labels: enhancement +assignees: '' +--- + +**Please describe your feature request related to a problem?** +> A one liner title for feature + +**Describe your solution to problem** +> A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +> A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +> Add any other context or screenshots about the feature request here. + +**Add Relevant Screenshot (if available)** +> add here diff --git a/.github/ISSUE_TEMPLATE/general_issue.md b/.github/ISSUE_TEMPLATE/general_issue.md new file mode 100644 index 0000000..13c00c3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/general_issue.md @@ -0,0 +1,16 @@ +--- +name: ๐Ÿ“š General Issue +about: Discuss general topics, questions, or suggestions +title: "[GENERAL]" +labels: question +assignees: '' +--- + +**Topic** +> A clear and concise description of the topic or question. + +**Details** +> Provide more details or context about your topic or question. + +**Additional context** +> Add any other context or screenshots if necessary. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..1a8eb13 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,27 @@ +# ๐Ÿš€ Pull Request + +## Description + +Please include a summary of the changes and the related issue. Provide relevant motivation and context. List any dependencies that are required for this change. + +Fixes # (issue) + +## Type of Change + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [ ] Documentation Update + +## Checklist: + +- [ ] My code follows the style guidelines of this project +- [ ] I have performed a self-review of my own code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have made corresponding changes to the documentation +- [ ] My changes generate no new warnings +- [ ] I have added tests that prove my fix is effective or that my feature works +- [ ] New and existing unit tests pass locally with my changes +- [ ] Any dependent changes have been merged and published in downstream modules + +## Screenshot of final output/video diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..e9a1632 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,17 @@ +# .github/labeler.yml +bug: + - "**bug**" + - "**fix**" + - "**error**" + - "**issue**" + +enhancement: + - "**feature**" + - "**enhancement**" + - "**add**" + - "**improve**" + +documentation: + - "**docs**" + - "**documentation**" + - "**readme**" diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..3412acf --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request_target, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: "๐Ÿ‘‹ Thank you for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!" + pr-message: " ๐ŸŽ‰ Thank you for your contribution! Your pull request has been submitted successfully. A maintainer will review it as soon as possible. We appreciate your support in making this project better" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..2dca102 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,15 @@ +# .github/workflows/labeler.yml +name: "Labeler" + +on: + pull_request: + types: [opened, edited, reopened] + +jobs: + labeler: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/labeler.yml diff --git a/.history/index_20241004154112.html b/.history/index_20241004154112.html new file mode 100644 index 0000000..d58123f --- /dev/null +++ b/.history/index_20241004154112.html @@ -0,0 +1,618 @@ + + + + + + + + + + CabRental + + + + + + + + + + + + + + + +
+ + + +
+ +
+
+ +
+
+


Want to Share or Rent
a cab.

+

Wherever you're going, there's a carpool that will
+ get you there for less.

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ +
+ +
+
+ How It Works +

Share/Rent in 3 Easy Steps

+

+
+ +

Choose a location

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Travelling Date

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Depart. Time

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +
+
+ Best Services +

Explore Out Top Deals
From Top Rated Deaalers

+
+
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.3850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.2850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.1850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+
+
+
+

Why Choose Us

+

Best valued deals you will ever find

+

Discover the best deals you'll ever find with our unbeatable offers. We're dedicated to providing you with the best value for your money, so you can enjoy top-quality services and products without breaking the bank. Our deals are designed to give you the ultimate renting experience, so don't miss out on your chance to save big.

+ +
+
+
+ Cross Country Drive +

Cross Country Drive

+

Take your driving experience to the next level with our top-notch vehicles for your cross-country adventures.

+
+
+ All Inclusive Pricing +

All Inclusive Pricing

+

Get everything you need in one convenient, transparent price with our all-inclusive pricing policy.

+
+
+ No Hidden Charges +

No Hidden Charges

+

Enjoy peace of mind with our no hidden charges policy. We believe in transparent and honest pricing.

+
+
+
+
+ + + + +
+ +

Customer Reviews

+ +
+ +
+ +
+ +

Noah Lee

+

I recently used Cabrental for a weekend trip and was thoroughly impressed. The booking process was seamless, and the website was intuitive and easy to navigate. The car was clean and in excellent condition, and the pick-up and drop-off process was quick and hassle-free. The customer service was exceptionalโ€”friendly and helpful staff made the experience even better. Highly recommended!

+
+ + + + + +
+
+ +
+ +

Sophia Rossi

+

I recently used Cabrental for a weekend getaway, and I couldn't be happier with the experience. The website is user-friendly, and I found the perfect car within minutes.

+
+ + + + + +
+
+ +
+ +

Olivia Davis

+

The booking process was straightforward, and I received a confirmation email immediately. When I arrived at the pick-up location, the staff was friendly and efficient. The car was clean, well-maintained, and exactly as described on the website.

+
+ + + + + +
+
+ +
+ +

Emma Brown

+

Returning the car was just as easy, and there were no hidden fees or unexpected charges. I will definitely be using Cabrental again for my future trips. Highly recommended!

+
+ + + + + +
+
+ +
+ +
+ +
+ +
+ +
+
+
+

Frequently Asked Question

+
+
+
+

How do I book a cab?

+ + + +
+
+

To book a cab, select your location, travel date, and departure time on the homepage, then follow the steps to complete your booking.

+
+
+ +
+
+

What services do you offer?

+ + + +
+
+

We offer cab sharing and rental services for various locations with a range of vehicles to choose from.

+
+
+ +
+
+

How much does it cost to rent a cab?

+ + + +
+
+

Rental costs vary depending on the vehicle and rental duration. Prices start at Rs.850 per day.

+
+
+ +
+
+

How do I contact customer support?

+ + + +
+
+

For assistance, you can call our support line at 000-080-000-000 or use the contact form on our website.

+
+
+
+
+

Are there any hidden fees?

+ + + +
+
+

No, our pricing is transparent with no hidden fees or unexpected charges.

+
+
+
+
+
+ + +
+ +
+
+
+
+

Contact Me

+ + + +
+
+
+ + + + +
+ +
+
+
+ + +
+ + + + +
+
+ About Us +

Get to know more about our company, our mission, and our commitment to providing the best cab rental + services.

+
+
+ + +
+

Words from Our Clients Inspiring Testimonials of Satisfaction

+
+
+

Using Cab Rental has made my life so much easier. The service is top-notch and always reliable.

+

- Alex

+ Alex +
+
+

The best cab rental service Iโ€™ve ever used! The drivers are friendly and always on time.

+

- Jordan

+ Jordan +
+
+

Excellent service! The booking process is seamless, and the cabs are always clean and comfortable.

+

- Taylor

+ Taylor +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + diff --git a/.history/index_20241004154933.html b/.history/index_20241004154933.html new file mode 100644 index 0000000..409886a --- /dev/null +++ b/.history/index_20241004154933.html @@ -0,0 +1,618 @@ + + + + + + + + + + CabRental + + + + + + + + + + + + + + + +
+ + + +
+ +
+
+ +
+
+


Want to Share or Rent
a cab.

+

Wherever you're going, there's a carpool that will
+ get you there for less.

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ +
+ +
+
+ How It Works +

Share/Rent in 3 Easy Steps

+

+
+ +

Choose a location

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Travelling Date

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Depart. Time

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +
+
+ Best Services +

Explore Out Top Deals
From Top Rated Deaalers

+
+
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.3850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.2850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.1850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+
+
+
+

Why Choose Us

+

Best valued deals you will ever find

+

Discover the best deals you'll ever find with our unbeatable offers. We're dedicated to providing you with the best value for your money, so you can enjoy top-quality services and products without breaking the bank. Our deals are designed to give you the ultimate renting experience, so don't miss out on your chance to save big.

+ +
+
+
+ Cross Country Drive +

Cross Country Drive

+

Take your driving experience to the next level with our top-notch vehicles for your cross-country adventures.

+
+
+ All Inclusive Pricing +

All Inclusive Pricing

+

Get everything you need in one convenient, transparent price with our all-inclusive pricing policy.

+
+
+ No Hidden Charges +

No Hidden Charges

+

Enjoy peace of mind with our no hidden charges policy. We believe in transparent and honest pricing.

+
+
+
+
+ + + + +
+ +

Customer Reviews

+ +
+ +
+ +
+ +

Noah Lee

+

I recently used Cabrental for a weekend trip and was thoroughly impressed. The booking process was seamless, and the website was intuitive and easy to navigate. The car was clean and in excellent condition, and the pick-up and drop-off process was quick and hassle-free. The customer service was exceptionalโ€”friendly and helpful staff made the experience even better. Highly recommended!

+
+ + + + + +
+
+ +
+ +

Sophia Rossi

+

I recently used Cabrental for a weekend getaway, and I couldn't be happier with the experience. The website is user-friendly, and I found the perfect car within minutes.

+
+ + + + + +
+
+ +
+ +

Olivia Davis

+

The booking process was straightforward, and I received a confirmation email immediately. When I arrived at the pick-up location, the staff was friendly and efficient. The car was clean, well-maintained, and exactly as described on the website.

+
+ + + + + +
+
+ +
+ +

Emma Brown

+

Returning the car was just as easy, and there were no hidden fees or unexpected charges. I will definitely be using Cabrental again for my future trips. Highly recommended!

+
+ + + + + +
+
+ +
+ +
+ +
+ +
+ +
+
+
+

Frequently Asked Question

+
+
+
+

How do I book a cab?

+ + + +
+
+

To book a cab, select your location, travel date, and departure time on the homepage, then follow the steps to complete your booking.

+
+
+ +
+
+

What services do you offer?

+ + + +
+
+

We offer cab sharing and rental services for various locations with a range of vehicles to choose from.

+
+
+ +
+
+

How much does it cost to rent a cab?

+ + + +
+
+

Rental costs vary depending on the vehicle and rental duration. Prices start at Rs.850 per day.

+
+
+ +
+
+

How do I contact customer support?

+ + + +
+
+

For assistance, you can call our support line at 000-080-000-000 or use the contact form on our website.

+
+
+
+
+

Are there any hidden fees?

+ + + +
+
+

No, our pricing is transparent with no hidden fees or unexpected charges.

+
+
+
+
+
+ + +
+ +
+
+
+
+

Contact Me

+ + + +
+
+
+ + + + +
+ +
+
+
+ + +
+ + + + +
+
+ About Us +

Get to know more about our company, our mission, and our commitment to providing the best cab rental + services.

+
+
+ + +
+

Words from Our Clients Inspiring Testimonials of Satisfaction

+
+
+

Using Cab Rental has made my life so much easier. The service is top-notch and always reliable.

+

- Alex

+ Alex +
+
+

The best cab rental service Iโ€™ve ever used! The drivers are friendly and always on time.

+

- Jordan

+ Jordan +
+
+

Excellent service! The booking process is seamless, and the cabs are always clean and comfortable.

+

- Taylor

+ Taylor +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + diff --git a/.history/index_20241004155002.html b/.history/index_20241004155002.html new file mode 100644 index 0000000..164ee26 --- /dev/null +++ b/.history/index_20241004155002.html @@ -0,0 +1,618 @@ + + + + + + + + + + CabRental + + + + + + + + + + + + + + + +
+ + + +
+ +
+
+ +
+
+


Want to Share or Rent
a cab.

+

Wherever you're going, there's a carpool that will
+ get you there for less.

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ +
+ +
+
+ How It Works +

Share/Rent in 3 Easy Steps

+

+
+ +

Choose a location

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Travelling Date

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Depart. Time

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +
+
+ Best Services +

Explore Out Top Deals
From Top Rated Deaalers

+
+
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.3850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.2850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.1850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+
+
+
+

Why Choose Us

+

Best valued deals you will ever find

+

Discover the best deals you'll ever find with our unbeatable offers. We're dedicated to providing you with the best value for your money, so you can enjoy top-quality services and products without breaking the bank. Our deals are designed to give you the ultimate renting experience, so don't miss out on your chance to save big.

+ +
+
+
+ Cross Country Drive +

Cross Country Drive

+

Take your driving experience to the next level with our top-notch vehicles for your cross-country adventures.

+
+
+ All Inclusive Pricing +

All Inclusive Pricing

+

Get everything you need in one convenient, transparent price with our all-inclusive pricing policy.

+
+
+ No Hidden Charges +

No Hidden Charges

+

Enjoy peace of mind with our no hidden charges policy. We believe in transparent and honest pricing.

+
+
+
+
+ + + + +
+ +

Customer Reviews

+ +
+ +
+ +
+ +

Noah Lee

+

I recently used Cabrental for a weekend trip and was thoroughly impressed. The booking process was seamless, and the website was intuitive and easy to navigate. The car was clean and in excellent condition, and the pick-up and drop-off process was quick and hassle-free. The customer service was exceptionalโ€”friendly and helpful staff made the experience even better. Highly recommended!

+
+ + + + + +
+
+ +
+ +

Sophia Rossi

+

I recently used Cabrental for a weekend getaway, and I couldn't be happier with the experience. The website is user-friendly, and I found the perfect car within minutes.

+
+ + + + + +
+
+ +
+ +

Olivia Davis

+

The booking process was straightforward, and I received a confirmation email immediately. When I arrived at the pick-up location, the staff was friendly and efficient. The car was clean, well-maintained, and exactly as described on the website.

+
+ + + + + +
+
+ +
+ +

Emma Brown

+

Returning the car was just as easy, and there were no hidden fees or unexpected charges. I will definitely be using Cabrental again for my future trips. Highly recommended!

+
+ + + + + +
+
+ +
+ +
+ +
+ +
+ +
+
+
+

Frequently Asked Question

+
+
+
+

How do I book a cab?

+ + + +
+
+

To book a cab, select your location, travel date, and departure time on the homepage, then follow the steps to complete your booking.

+
+
+ +
+
+

What services do you offer?

+ + + +
+
+

We offer cab sharing and rental services for various locations with a range of vehicles to choose from.

+
+
+ +
+
+

How much does it cost to rent a cab?

+ + + +
+
+

Rental costs vary depending on the vehicle and rental duration. Prices start at Rs.850 per day.

+
+
+ +
+
+

How do I contact customer support?

+ + + +
+
+

For assistance, you can call our support line at 000-080-000-000 or use the contact form on our website.

+
+
+
+
+

Are there any hidden fees?

+ + + +
+
+

No, our pricing is transparent with no hidden fees or unexpected charges.

+
+
+
+
+
+ + +
+ +
+
+
+
+

Contact Me

+ + + +
+
+
+ + + + +
+ +
+
+
+ + +
+ + + + +
+
+ About Us +

Get to know more about our company, our mission, and our commitment to providing the best cab rental + services.

+
+
+ + +
+

Words from Our Clients Inspiring Testimonials of Satisfaction

+
+
+

Using Cab Rental has made my life so much easier. The service is top-notch and always reliable.

+

- Alex

+ Alex +
+
+

The best cab rental service Iโ€™ve ever used! The drivers are friendly and always on time.

+

- Jordan

+ Jordan +
+
+

Excellent service! The booking process is seamless, and the cabs are always clean and comfortable.

+

- Taylor

+ Taylor +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + diff --git a/.history/index_20241004155026.html b/.history/index_20241004155026.html new file mode 100644 index 0000000..3deb4ef --- /dev/null +++ b/.history/index_20241004155026.html @@ -0,0 +1,618 @@ + + + + + + + + + + CabRental + + + + + + + + + + + + + + + +
+ + + +
+ +
+
+ +
+
+


Want to Share or Rent
a cab.

+

Wherever you're going, there's a carpool that will
+ get you there for less.

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ +
+ +
+
+ How It Works +

Share/Rent in 3 Easy Steps

+

+
+ +

Choose a location

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Travelling Date

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Depart. Time

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +
+
+ Best Services +

Explore Out Top Deals
From Top Rated Deaalers

+
+
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.3850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.2850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.1850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+
+
+
+

Why Choose Us

+

Best valued deals you will ever find

+

Discover the best deals you'll ever find with our unbeatable offers. We're dedicated to providing you with the best value for your money, so you can enjoy top-quality services and products without breaking the bank. Our deals are designed to give you the ultimate renting experience, so don't miss out on your chance to save big.

+ +
+
+
+ Cross Country Drive +

Cross Country Drive

+

Take your driving experience to the next level with our top-notch vehicles for your cross-country adventures.

+
+
+ All Inclusive Pricing +

All Inclusive Pricing

+

Get everything you need in one convenient, transparent price with our all-inclusive pricing policy.

+
+
+ No Hidden Charges +

No Hidden Charges

+

Enjoy peace of mind with our no hidden charges policy. We believe in transparent and honest pricing.

+
+
+
+
+ + + + +
+ +

Customer Reviews

+ +
+ +
+ +
+ +

Noah Lee

+

I recently used Cabrental for a weekend trip and was thoroughly impressed. The booking process was seamless, and the website was intuitive and easy to navigate. The car was clean and in excellent condition, and the pick-up and drop-off process was quick and hassle-free. The customer service was exceptionalโ€”friendly and helpful staff made the experience even better. Highly recommended!

+
+ + + + + +
+
+ +
+ +

Sophia Rossi

+

I recently used Cabrental for a weekend getaway, and I couldn't be happier with the experience. The website is user-friendly, and I found the perfect car within minutes.

+
+ + + + + +
+
+ +
+ +

Olivia Davis

+

The booking process was straightforward, and I received a confirmation email immediately. When I arrived at the pick-up location, the staff was friendly and efficient. The car was clean, well-maintained, and exactly as described on the website.

+
+ + + + + +
+
+ +
+ +

Rohan Gupta

+

Returning the car was just as easy, and there were no hidden fees or unexpected charges. I will definitely be using Cabrental again for my future trips. Highly recommended!

+
+ + + + + +
+
+ +
+ +
+ +
+ +
+ +
+
+
+

Frequently Asked Question

+
+
+
+

How do I book a cab?

+ + + +
+
+

To book a cab, select your location, travel date, and departure time on the homepage, then follow the steps to complete your booking.

+
+
+ +
+
+

What services do you offer?

+ + + +
+
+

We offer cab sharing and rental services for various locations with a range of vehicles to choose from.

+
+
+ +
+
+

How much does it cost to rent a cab?

+ + + +
+
+

Rental costs vary depending on the vehicle and rental duration. Prices start at Rs.850 per day.

+
+
+ +
+
+

How do I contact customer support?

+ + + +
+
+

For assistance, you can call our support line at 000-080-000-000 or use the contact form on our website.

+
+
+
+
+

Are there any hidden fees?

+ + + +
+
+

No, our pricing is transparent with no hidden fees or unexpected charges.

+
+
+
+
+
+ + +
+ +
+
+
+
+

Contact Me

+ + + +
+
+
+ + + + +
+ +
+
+
+ + +
+ + + + +
+
+ About Us +

Get to know more about our company, our mission, and our commitment to providing the best cab rental + services.

+
+
+ + +
+

Words from Our Clients Inspiring Testimonials of Satisfaction

+
+
+

Using Cab Rental has made my life so much easier. The service is top-notch and always reliable.

+

- Alex

+ Alex +
+
+

The best cab rental service Iโ€™ve ever used! The drivers are friendly and always on time.

+

- Jordan

+ Jordan +
+
+

Excellent service! The booking process is seamless, and the cabs are always clean and comfortable.

+

- Taylor

+ Taylor +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + diff --git a/.history/index_20241004155047.html b/.history/index_20241004155047.html new file mode 100644 index 0000000..9a6140e --- /dev/null +++ b/.history/index_20241004155047.html @@ -0,0 +1,618 @@ + + + + + + + + + + CabRental + + + + + + + + + + + + + + + +
+ + + +
+ +
+
+ +
+
+


Want to Share or Rent
a cab.

+

Wherever you're going, there's a carpool that will
+ get you there for less.

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ +
+ +
+
+ How It Works +

Share/Rent in 3 Easy Steps

+

+
+ +

Choose a location

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Travelling Date

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Depart. Time

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +
+
+ Best Services +

Explore Out Top Deals
From Top Rated Deaalers

+
+
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.3850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.2850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.1850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+
+
+
+

Why Choose Us

+

Best valued deals you will ever find

+

Discover the best deals you'll ever find with our unbeatable offers. We're dedicated to providing you with the best value for your money, so you can enjoy top-quality services and products without breaking the bank. Our deals are designed to give you the ultimate renting experience, so don't miss out on your chance to save big.

+ +
+
+
+ Cross Country Drive +

Cross Country Drive

+

Take your driving experience to the next level with our top-notch vehicles for your cross-country adventures.

+
+
+ All Inclusive Pricing +

All Inclusive Pricing

+

Get everything you need in one convenient, transparent price with our all-inclusive pricing policy.

+
+
+ No Hidden Charges +

No Hidden Charges

+

Enjoy peace of mind with our no hidden charges policy. We believe in transparent and honest pricing.

+
+
+
+
+ + + + +
+ +

Customer Reviews

+ +
+ +
+ +
+ +

Noah Lee

+

I recently used Cabrental for a weekend trip and was thoroughly impressed. The booking process was seamless, and the website was intuitive and easy to navigate. The car was clean and in excellent condition, and the pick-up and drop-off process was quick and hassle-free. The customer service was exceptionalโ€”friendly and helpful staff made the experience even better. Highly recommended!

+
+ + + + + +
+
+ +
+ +

Sophia Rossi

+

I recently used Cabrental for a weekend getaway, and I couldn't be happier with the experience. The website is user-friendly, and I found the perfect car within minutes.

+
+ + + + + +
+
+ +
+ +

Olivia Davis

+

The booking process was straightforward, and I received a confirmation email immediately. When I arrived at the pick-up location, the staff was friendly and efficient. The car was clean, well-maintained, and exactly as described on the website.

+
+ + + + + +
+
+ +
+ +

Rohan Gupta

+

Returning the car was just as easy, and there were no hidden fees or unexpected charges. I will definitely be using Cabrental again for my future trips. Highly recommended!

+
+ + + + + +
+
+ +
+ +
+ +
+ +
+ +
+
+
+

Frequently Asked Question

+
+
+
+

How do I book a cab?

+ + + +
+
+

To book a cab, select your location, travel date, and departure time on the homepage, then follow the steps to complete your booking.

+
+
+ +
+
+

What services do you offer?

+ + + +
+
+

We offer cab sharing and rental services for various locations with a range of vehicles to choose from.

+
+
+ +
+
+

How much does it cost to rent a cab?

+ + + +
+
+

Rental costs vary depending on the vehicle and rental duration. Prices start at Rs.850 per day.

+
+
+ +
+
+

How do I contact customer support?

+ + + +
+
+

For assistance, you can call our support line at 000-080-000-000 or use the contact form on our website.

+
+
+
+
+

Are there any hidden fees?

+ + + +
+
+

No, our pricing is transparent with no hidden fees or unexpected charges.

+
+
+
+
+
+ + +
+ +
+
+
+
+

Contact Me

+ + + +
+
+
+ + + + +
+ +
+
+
+ + +
+ + + + +
+
+ About Us +

Get to know more about our company, our mission, and our commitment to providing the best cab rental + services.

+
+
+ + +
+

Words from Our Clients Inspiring Testimonials of Satisfaction

+
+
+

Using Cab Rental has made my life so much easier. The service is top-notch and always reliable.

+

- Alex

+ Alex +
+
+

The best cab rental service Iโ€™ve ever used! The drivers are friendly and always on time.

+

- Jordan

+ Jordan +
+
+

Excellent service! The booking process is seamless, and the cabs are always clean and comfortable.

+

- Taylor

+ Taylor +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + diff --git a/.history/index_20241004155336.html b/.history/index_20241004155336.html new file mode 100644 index 0000000..50d0c04 --- /dev/null +++ b/.history/index_20241004155336.html @@ -0,0 +1,618 @@ + + + + + + + + + + CabRental + + + + + + + + + + + + + + + +
+ + + +
+ +
+
+ +
+
+


Want to Share or Rent
a cab.

+

Wherever you're going, there's a carpool that will
+ get you there for less.

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ +
+ +
+
+ How It Works +

Share/Rent in 3 Easy Steps

+

+
+ +

Choose a location

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Travelling Date

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +

Depart. Time

+

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+
+
+ +
+
+ Best Services +

Explore Out Top Deals
From Top Rated Deaalers

+
+
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.3850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.2850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.1850 /day

+ Rent Now +
+
+
+ +
+

2017

+

2018 Honda Civic

+

Rs.850 | Rs.850 /day

+ Rent Now +
+
+
+
+
+
+

Why Choose Us

+

Best valued deals you will ever find

+

Discover the best deals you'll ever find with our unbeatable offers. We're dedicated to providing you with the best value for your money, so you can enjoy top-quality services and products without breaking the bank. Our deals are designed to give you the ultimate renting experience, so don't miss out on your chance to save big.

+ +
+
+
+ Cross Country Drive +

Cross Country Drive

+

Take your driving experience to the next level with our top-notch vehicles for your cross-country adventures.

+
+
+ All Inclusive Pricing +

All Inclusive Pricing

+

Get everything you need in one convenient, transparent price with our all-inclusive pricing policy.

+
+
+ No Hidden Charges +

No Hidden Charges

+

Enjoy peace of mind with our no hidden charges policy. We believe in transparent and honest pricing.

+
+
+
+
+ + + + +
+ +

Customer Reviews

+ +
+ +
+ +
+ +

Noah Lee

+

I recently used Cabrental for a weekend trip and was thoroughly impressed. The booking process was seamless, and the website was intuitive and easy to navigate. The car was clean and in excellent condition, and the pick-up and drop-off process was quick and hassle-free. The customer service was exceptionalโ€”friendly and helpful staff made the experience even better. Highly recommended!

+
+ + + + + +
+
+ +
+ +

Sophia Rossi

+

I recently used Cabrental for a weekend getaway, and I couldn't be happier with the experience. The website is user-friendly, and I found the perfect car within minutes.

+
+ + + + + +
+
+ +
+ +

Olivia Davis

+

The booking process was straightforward, and I received a confirmation email immediately. When I arrived at the pick-up location, the staff was friendly and efficient. The car was clean, well-maintained, and exactly as described on the website.

+
+ + + + + +
+
+ +
+ +

Rohan Gupta

+

Returning the car was just as easy, and there were no hidden fees or unexpected charges. I will definitely be using Cabrental again for my future trips. Highly recommended!

+
+ + + + + +
+
+ +
+ +
+ +
+ +
+ +
+
+
+

Frequently Asked Question

+
+
+
+

How do I book a cab?

+ + + +
+
+

To book a cab, select your location, travel date, and departure time on the homepage, then follow the steps to complete your booking.

+
+
+ +
+
+

What services do you offer?

+ + + +
+
+

We offer cab sharing and rental services for various locations with a range of vehicles to choose from.

+
+
+ +
+
+

How much does it cost to rent a cab?

+ + + +
+
+

Rental costs vary depending on the vehicle and rental duration. Prices start at Rs.850 per day.

+
+
+ +
+
+

How do I contact customer support?

+ + + +
+
+

For assistance, you can call our support line at 000-080-000-000 or use the contact form on our website.

+
+
+
+
+

Are there any hidden fees?

+ + + +
+
+

No, our pricing is transparent with no hidden fees or unexpected charges.

+
+
+
+
+
+ + +
+ +
+
+
+
+

Contact Me

+ + + +
+
+
+ + + + +
+ +
+
+
+ + +
+ + + + +
+
+ About Us +

Get to know more about our company, our mission, and our commitment to providing the best cab rental + services.

+
+
+ + +
+

Words from Our Clients Inspiring Testimonials of Satisfaction

+
+
+

Using Cab Rental has made my life so much easier. The service is top-notch and always reliable.

+

- Alex

+ Alex +
+
+

The best cab rental service Iโ€™ve ever used! The drivers are friendly and always on time.

+

- Jordan

+ Jordan +
+
+

Excellent service! The booking process is seamless, and the cabs are always clean and comfortable.

+

- Taylor

+ Taylor +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + diff --git a/Assets/moon.png b/Assets/moon.png new file mode 100644 index 0000000..c39c90d Binary files /dev/null and b/Assets/moon.png differ diff --git a/Assets/sun.png b/Assets/sun.png new file mode 100644 index 0000000..9ad0caa Binary files /dev/null and b/Assets/sun.png differ diff --git "a/Car Website dark \342\200\223 1@2x.png .png" "b/Car Website dark \342\200\223 1@2x.png .png" new file mode 100644 index 0000000..b488a4d Binary files /dev/null and "b/Car Website dark \342\200\223 1@2x.png .png" differ diff --git "a/img/Car Website \342\200\223 1@2x.png" "b/Car Website \342\200\223 1@2x.png" similarity index 100% rename from "img/Car Website \342\200\223 1@2x.png" rename to "Car Website \342\200\223 1@2x.png" diff --git a/Contact us/style.css b/Contact us/style.css index a657a25..690022e 100644 --- a/Contact us/style.css +++ b/Contact us/style.css @@ -84,3 +84,20 @@ form .btn2{ .copyright i{ color: #ff004f; } +.header{ + padding:20px 20px 0px 20px; +} +.features{ + padding:0px 20px 20px 20px; +} +.accordion{ + padding:15px; + margin:0px; + border:0px; +} +.heading{ + padding:0px; + margin:0px; + border:0px; + +} diff --git a/Contributing.md b/Contributing.md new file mode 100644 index 0000000..483defc --- /dev/null +++ b/Contributing.md @@ -0,0 +1,74 @@ +# ๐ŸŽ‰ Welcome to the CabRental Contributing Guide + +We're thrilled that you're considering contributing to **CabRental**, a decentralized vehicle rental platform! Whether you're fixing a bug, proposing new features, or improving documentation, your contributions are vital to improving the platform and making vehicle rentals smarter, faster, and more secure. ๐Ÿš—๐Ÿ’จ + +## ๐Ÿ›  How to Contribute + +We aim to make contributing easy and efficient. Follow the steps below to get started. + +### 1. Fork the Repository ๐Ÿด +Start by **forking** the repository: + +- Navigate to the top-right corner of this page. +- Click the **Fork** button. +- This creates your personal copy of CabRental to make modifications. + +### 2. Clone the Forked Repository ๐Ÿ› ๏ธ +Clone your fork to your local machine to work on: + +```bash +git clone https://github.com/YOUR-USERNAME/CabRental.git +``` + +Then, navigate to the project directory: + +```bash +cd CabRental +``` + +### 3. Set Up Your Environment โš™๏ธ +Install all the required dependencies to run the project locally: + +```bash +npm install +composer install +``` + +Make sure to configure **MetaMask** for decentralized login and connect it with the blockchain environment. + +### 4. Make Changes โœ๏ธ +Start contributing by working on the issue or feature. You can check out our [Issue Tracker](https://github.com/07sumit1002/CabRental/issues) to find open tasks. Donโ€™t forget to follow our **code guidelines** and document your changes properly. + +### 5. Commit Your Changes ๐Ÿ’พ +Once youโ€™re done making changes, commit them with a clear message: + +```bash +git add . +git commit -m "Description of changes" +``` + +### 6. Push to Your Fork ๐Ÿš€ +Push your changes to the forked repository: + +```bash +git push origin main +``` + +### 7. Open a Pull Request ๐ŸŽฏ +Once you've pushed your changes, open a **Pull Request (PR)** to the main repository. Make sure to provide a clear description of the changes made and link the issue, if applicable. + +We recommend writing an informative PR title and including screenshots or GIFs (if necessary) to demonstrate the feature or bug fix. + +## ๐Ÿ” Code Guidelines + +To maintain code consistency and quality, ensure you follow these guidelines: + +- **Coding Style**: Adhere to industry standards and follow [JavaScript Style Guides](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide). +- **Test**: Test your code thoroughly before pushing. We encourage adding unit and integration tests whenever possible. +- **Documentation**: Always update or add documentation for any feature or code changes. +- **Smart Contracts**: Follow secure development principles for writing and testing smart contracts. + +## ๐Ÿ“ฌ Have Questions? +Need help? Have questions? Feel free to reach out by opening an issue. + +Thank you for helping us make CabRental better! ๐ŸŽ‰ diff --git a/DBSetup/setup.py b/DBSetup/setup.py index 41db666..052497c 100644 --- a/DBSetup/setup.py +++ b/DBSetup/setup.py @@ -58,6 +58,27 @@ def main(): time.sleep(1) sys.exit(0) +# Function to securely fetch MySQL password from user with asterisk masking +def get_mysql_password(): + print(Fore.YELLOW + "Enter your MySQL Password: " + Fore.RESET, end='', flush=True) + password = '' + while True: + key = keyboard.read_event() + if key.event_type == keyboard.KEY_DOWN: + if key.name == 'enter': + print() # Move to the next line after pressing enter + break + elif key.name == 'backspace': + if password: + password = password[:-1] # Remove last character from password + print('\b \b', end='', flush=True) # Erase the last asterisk + elif key.name in ('space', 'tab'): + continue # Ignore space and tab + else: + password += key.name # Add the character to the password + print('*', end='', flush=True) # Print an asterisk for masking + + return password # Placeholder function for setting up database from scratch def setup_database_from_scratch(): @@ -155,5 +176,5 @@ def reset_database(): print(Fore.GREEN + "Database Reset complete." + Fore.RESET) if __name__ == "__main__": - passwd = input(Fore.YELLOW + "Enter your MySQL Password: " + Fore.RESET) + passwd = get_mysql_password() # Using custom function for password input main() diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0f62c78 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Sumit Kumar + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 8cc0f9f..a4b61f7 100644 --- a/README.md +++ b/README.md @@ -1,67 +1,203 @@ -๐Ÿš– CabRental -The CabRental repository is a decentralized vehicle rental platform that provides users with a seamless experience to rent vehicles. It leverages both traditional technologies and Web3 innovations for a secure and modernized booking process. - -๐Ÿ“ Description -CabRental is a comprehensive vehicle rental platform that allows users to search, book, and manage vehicle rentals. The system is enhanced with Web3 features such as decentralized login using crypto wallets, smart contract-based transactions, and blockchain data handling, providing both flexibility and security. - -๐Ÿ’ป Technologies Used
-Front-end: HTML, CSS, JavaScript
-Back-end: Node.js, PHP
-Smart Contracts: Solidity
-Blockchain Interaction: MetaMask, Web3.js, Ethers.js
-Database: MySQL
-๐ŸŒŸ Features -Decentralized Login with MetaMask ๐Ÿ”: Users can sign in using their crypto wallets instead of traditional login methods. -User Registration & Authentication ๐Ÿ‘ค: Includes social media and wallet-based authentication options. -Smart Contract-Based Payments ๐Ÿ’ฐ: Payment processing is automated using Solidity smart contracts for secure and transparent transactions. -Vehicle Search & Booking ๐Ÿš—: Users can search for vehicles by location, type, and availability with real-time checks. -Booking Management ๐Ÿงพ: Manage bookings with the flexibility of blockchain-powered tracking and verification. -Admin Dashboard ๐Ÿ‘จโ€๐Ÿ’ผ: Admins can manage bookings, view analytics, and use blockchain for transaction verification. -Notifications & Alerts ๐Ÿ””: Email, SMS, and on-chain notifications for payment confirmations and updates. -User Feedback and Reviews โญ: Decentralized storage of reviews and ratings, ensuring transparency and immutability using blockchain. -๐Ÿ”ง Installation -To get a local copy up and running, follow these simple steps: - -Clone the repo - -bash -Copy code +# ๐Ÿš– CabRental + +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) +[![Last Commit](https://img.shields.io/github/last-commit/07sumit1002/CabRental.svg)](https://github.com/07sumit1002/CabRental/commits/main) +[![GitHub Issues](https://img.shields.io/github/issues/07sumit1002/CabRental.svg)](https://github.com/07sumit1002/CabRental/issues) +[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/07sumit1002/CabRental.svg)](https://github.com/07sumit1002/CabRental/pulls) + +## ๐Ÿ“ Table of Contents + +- [๐Ÿš– CabRental](#-cabrental) + - [๐Ÿ“ Description](#-description) + - [๐ŸŒŸ Features](#-features) + - [๐Ÿ’ป Technologies Used](#-technologies-used) + - [๐Ÿ”ง Installation](#-installation) + - [๐Ÿ›  Web3 Integration Guide](#-web3-integration-guide) + - [๐Ÿ“š Usage](#-usage) + - [๐Ÿค Contributing](#-contributing) + - [๐Ÿ“„ License](#-license) + - [๐Ÿ“ซ Contact](#-contact) + +## ๐Ÿ“ Description + +**CabRental** is a decentralized vehicle rental platform that offers users a seamless and secure experience for renting vehicles. By integrating traditional technologies with cutting-edge Web3 innovations, CabRental ensures a modernized and trustworthy booking process. Key Web3 features include decentralized login via crypto wallets, smart contract-based transactions, and blockchain data handling, enhancing both flexibility and security. + +## ๐ŸŒŸ Features + +- **Decentralized Login with MetaMask ๐Ÿ”** + Users can sign in using their crypto wallets instead of traditional login methods, enhancing security and privacy. + +- **User Registration & Authentication ๐Ÿ‘ค** + Supports both social media and wallet-based authentication options for versatile user access. + +- **Smart Contract-Based Payments ๐Ÿ’ฐ** + Automated payment processing using Solidity smart contracts ensures secure and transparent transactions. + +- **Vehicle Search & Booking ๐Ÿš—** + Users can search for vehicles by location, type, and availability with real-time checks for a smooth booking experience. + +- **Booking Management ๐Ÿงพ** + Manage bookings with blockchain-powered tracking and verification for enhanced reliability. + +- **Admin Dashboard ๐Ÿ‘จโ€๐Ÿ’ผ** + Admins can manage bookings, view analytics, and verify transactions using blockchain technology. + +- **Notifications & Alerts ๐Ÿ””** + Receive email, SMS, and on-chain notifications for payment confirmations and updates. + +- **User Feedback and Reviews โญ** + Decentralized storage of reviews and ratings ensures transparency and immutability using blockchain. + +## ๐Ÿ’ป Technologies Used + +- **Front-end:** + - HTML + - CSS + - JavaScript + +- **Back-end:** + - Node.js + - PHP + +- **Smart Contracts:** + - Solidity + +- **Blockchain Interaction:** + - MetaMask + - Web3.js + - Ethers.js + +- **Database:** + - MySQL + +## ๐Ÿ”ง Installation + +Follow these steps to set up a local copy of CabRental: + +### 1. Clone the Repository + +```bash git clone https://github.com/07sumit1002/CabRental.git -Navigate to the Folder +``` + +### 2. Navigate to the Project Directory -bash -Copy code +```bash cd CabRental -Install Dependencies - -bash -Copy code -npm install -composer install -Set up MetaMask for Wallet Login - -Ensure users have MetaMask installed for decentralized login. -Run the Application - -Ensure your server supports PHP and Node.js. -Open the project in your preferred web server (e.g., XAMPP, WAMP, or Node.js server). -Set up the database and blockchain connection as per the config file. -๐Ÿ›  Web3 Integration Guide -Smart Contracts: Use Solidity to create rental agreements, payment processing, and loyalty rewards. -Blockchain Interaction: MetaMask is used for wallet login and Web3.js handles blockchain transactions. -Backend Services: Node.js manages wallet verification, data requests from the blockchain, and transaction handling. -๐Ÿค Contributing -Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. - -Fork the Project - -Make your changes in the forked Repository - -Commit your changes and push to the forked repository: - -bash -Copy code -git add . -git commit -m 'Add some AmazingFeature' -git push -Open a Pull Request with a proper description of the changes proposed in the PR. +``` + +### 3. Install Dependencies + + ```bash + npm install composer + ``` + +### 4. Set Up MetaMask for Wallet Login + +- Ensure that you have the MetaMask extension installed in your browser for decentralized login functionality. +- Run the application + +### 5. Configure the Environment + +- **Server Requirements:** + Ensure your server supports PHP and Node.js. + +- **Database Setup:** + Set up the MySQL database and configure the connection details as specified in the `config` file. + +- **Blockchain Connection:** + Configure blockchain connection settings in the `config` file to interact with the smart contracts. + +### 6. Run the Application + +- **Using a Local Server:** + Open the project in your preferred web server (e.g., XAMPP, WAMP, or a Node.js server). + +- **Access the Application:** + Navigate to `http://localhost/CabRental` (or your configured local server URL) in your web browser. + +## ๐Ÿ›  Web3 Integration Guide + +### **Smart Contracts** + +- **Language:** Solidity +- **Purpose:** Create rental agreements, handle payment processing, and manage loyalty rewards. + +### **Blockchain Interaction** + +- **Wallet Integration:** MetaMask is used for decentralized wallet login. +- **Library:** Web3.js handles all blockchain transactions and interactions. + +### **Backend Services** + +- **Runtime:** Node.js +- **Functions:** + - Manage wallet verification + - Handle data requests from the blockchain + - Process transactions securely + +## ๐Ÿ“š Usage + +1. **User Registration:** + Users can register and authenticate using their preferred method (social media or crypto wallet). + +2. **Search & Book Vehicles:** + Utilize the search feature to find available vehicles based on location, type, and availability. + +3. **Manage Bookings:** + View and manage your bookings through the user dashboard, with real-time updates and blockchain verification. + +4. **Admin Management:** + Admins can oversee all bookings, analyze usage data, and verify transactions through the admin dashboard. + +5. **Receive Notifications:** + Stay informed with real-time notifications regarding your bookings and payments. + +## ๐Ÿค Contributing + +Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. + +### How to Contribute + +1. **Fork the Project** + Click the **Fork** button at the top right of the repository page. + +2. **Clone Your Fork** + ```bash + git clone https://github.com/your-username/CabRental.git + ``` + +3. **Create a New Branch** + ```bash + git checkout -b feature/AmazingFeature + ``` + +4. **Make Your Changes** + Implement your feature or bug fix. + +5. **Commit Your Changes** + ```bash + git add . + git commit -m 'Add some AmazingFeature' + ``` + +6. **Push to Your Fork** + ```bash + git push origin feature/AmazingFeature + ``` + +7. **Open a Pull Request** + Navigate to the original repository and open a pull request with a detailed description of your changes. + +## ๐Ÿ“„ License + +This project is licensed under the [MIT License](LICENSE). + +## ๐Ÿ“ซ Contact + +For any inquiries or support, please contact: + +- **Email:** +- **GitHub:** [@07sumit1002](https://github.com/07sumit1002) + +--- diff --git a/about.html b/about.html index 60d10fe..ce33012 100644 --- a/about.html +++ b/about.html @@ -33,7 +33,7 @@ .navbar .logo { font-size: 1.8em; font-weight: bold; - color: #d32f2f; + color: #000000; } .navbar ul { @@ -49,7 +49,7 @@ .navbar ul li a { color: #fff; - background-color: #d32f2f; + background-color: #b5b1a8; text-decoration: none; padding: 10px 20px; border-radius: 5px; @@ -57,7 +57,7 @@ } .navbar ul li a:hover { - background-color: #b71c1c; + background-color: #444444; transform: scale(1.1); } @@ -114,12 +114,11 @@ padding: 0; } - ul li { - background: linear-gradient(145deg, #f9e0e0, #e8b8b8); + .values-principles ul li { + background: linear-gradient(145deg, #b8e7af, hsl(129, 28%, 73%)); margin: 10px 0; padding: 15px 20px; border-radius: 5px; - color: #b71c1c; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), inset 0 1px 3px rgba(255, 255, 255, 0.1); transition: transform 0.3s, box-shadow 0.3s; diff --git a/connect.php b/connect.php new file mode 100644 index 0000000..ee5a2f4 --- /dev/null +++ b/connect.php @@ -0,0 +1,11 @@ +connect_error){ + echo "Failed to connect DB".$conn->connect_error; + } + + ?> \ No newline at end of file diff --git a/img/.DS_Store b/img/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/img/.DS_Store differ diff --git a/img/alarm-clock.png b/img/alarm-clock.png new file mode 100644 index 0000000..4673520 Binary files /dev/null and b/img/alarm-clock.png differ diff --git a/img/cabz.png.png b/img/cabz.png.png new file mode 100644 index 0000000..998ed9f Binary files /dev/null and b/img/cabz.png.png differ diff --git a/img/logo.png b/img/logo.png index 6f21f1b..df593bf 100644 Binary files a/img/logo.png and b/img/logo.png differ diff --git a/img/map.png b/img/map.png new file mode 100644 index 0000000..128fd19 Binary files /dev/null and b/img/map.png differ diff --git a/img/rev4.jpeg b/img/rev4.jpeg new file mode 100644 index 0000000..045f117 Binary files /dev/null and b/img/rev4.jpeg differ diff --git a/img/timetable.png b/img/timetable.png new file mode 100644 index 0000000..1fad96e Binary files /dev/null and b/img/timetable.png differ diff --git a/index.html b/index.html index d519b5f..c15cd8f 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,7 @@
+
@@ -45,8 +47,8 @@


Want to Share or Rent
a cab.

Wherever you're going, there's a carpool that will
get you there for less.

- +
+ + + + + +
@@ -115,19 +125,19 @@


Want to Share or Rent
a cab.

Share/Rent in 3 Easy Steps


- + map

Choose a location

-

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+

Select the Location from where you want to start your journey

- + map

Travelling Date

-

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+

Select the date of your journey

- + map

Depart. Time

-

Lorem ipsu Possimus, doloremque. Aspernatur alias neque

+

Select the exact time of your booking

@@ -303,7 +313,7 @@

Customer Reviews

- +

Noah Lee

I recently used Cabrental for a weekend trip and was thoroughly impressed. The booking process was seamless, and the website was intuitive and easy to navigate. The car was clean and in excellent condition, and the pick-up and drop-off process was quick and hassle-free. The customer service was exceptionalโ€”friendly and helpful staff made the experience even better. Highly recommended!

@@ -316,7 +326,7 @@

Noah Lee

- +

Sophia Rossi

I recently used Cabrental for a weekend getaway, and I couldn't be happier with the experience. The website is user-friendly, and I found the perfect car within minutes.

@@ -329,7 +339,7 @@

Sophia Rossi

- +

Olivia Davis

The booking process was straightforward, and I received a confirmation email immediately. When I arrived at the pick-up location, the staff was friendly and efficient. The car was clean, well-maintained, and exactly as described on the website.

@@ -342,8 +352,8 @@

Olivia Davis

- -

Emma Brown

+ +

Rohan Gupta

Returning the car was just as easy, and there were no hidden fees or unexpected charges. I will definitely be using Cabrental again for my future trips. Highly recommended!

@@ -437,13 +447,19 @@

Are there any hidden fees?

Contact Me

- + +
+
+
+
+ +
diff --git a/login.html b/login.html index 3d59252..9e3e86f 100644 --- a/login.html +++ b/login.html @@ -15,7 +15,7 @@

Cab Rental| Welcome to Cab Rental, your go-to platform for sharing or renting a cab effortlessly. Whether you're planning a quick trip across town or a long-distance journey, we provide a convenient and cost-effective solution to meet your travel needs.

-