Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final Review - Car Booking Website Project (Frontend) #13

Merged
merged 168 commits into from
Nov 6, 2023
Merged

Final Review - Car Booking Website Project (Frontend) #13

merged 168 commits into from
Nov 6, 2023

Conversation

aradradev
Copy link
Collaborator

@aradradev aradradev commented Nov 4, 2023

Pull Request for Final Review - Car Booking Website Project

Team Members:

Summary:

This pull request is for the final review of our Car Booking Website project. We have successfully completed all the required features and additional optional features, creating a fully functional and responsive website for booking cars.

Project Requirements:

Basics

  • Theme: Car Booking Website
  • Modified the provided design layout to match our theme.

Features

  • Team Size: 4 members
  • Completed all 9 required features for our team size.
  • Implemented optional features to enhance user experience.

Core Features (Required for Every Team Size)

  1. User login with a username.
  2. Navigation panel with links to cars, "Reserve" form, "My reservations," "Add car," and "Delete car."
  3. Main page displaying a list of cars.
  4. Detailed page for each car with a "Reserve" button.
  5. Form for adding a new car.
  6. Made the app responsive for both mobile and desktop versions.

Changes Made:

  • Replaced "motorcycles" with "cars" throughout the project.
  • Implemented user authentication using usernames.
  • Developed the navigation panel with links and functionality.
  • Designed and styled the main page to display car listings.
  • Created detailed car pages with a "Reserve" button.
  • Developed the form for adding new cars.
  • Ensured the website is responsive for both mobile and desktop users.
  • Performed rigorous testing to ensure the functionality and user experience meet the requirements.

Additional Information:

  • Detailed project documentation, including project architecture, design considerations, and user flow diagrams, is available for review.

Status:

  • Ready for final assessment and review.

Checklist:

  • Code review complete.
  • All unit tests passed.
  • Responsive design verified.
  • Documentation reviewed.
  • Optional features working as expected.

Backend Pull request:

Backend PR

Tasks:

  • Final review and approval.

Thank you for your time and consideration!

Best regards,
The Team.

Copy link

@Meltrust Meltrust left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @aradradev,

Good job so far!
There are some issues that you still need to work on to prepare your project for the final evaluation, but you are almost there!

To highlight:

  • Tests are passing✔️
  • Nice code organization ✔️
  • Good readme ✔️
  • Nice frontend ✔️

You are really close to finishing the Microverse program!! Keep it up! 👍👍👍

You can do it

After implementing the requested changes, please submit another review request. ♻️

Check the comments under the review.

Cheers and Happy coding!👏👏👏

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the previous reviews unless it is requested otherwise.


Copy link

@Meltrust Meltrust Nov 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Kindly, remove the old commented code present on this file in order to improve the repo's cleanliness. 👍

src/App.js Outdated
import CarDetail from "./components/car/CarDetail";
import DeleteCar from "./components/car/DeleteCar";

function App() {
Copy link

@Meltrust Meltrust Nov 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please, kindly refactor this functional component to ES6 arrow function, so your code complies with the latest standards.

Refactoring is easy:

const App = () => {
  // ...
}

Explanation

The function keyword has been soft deprecated in almost all the software industry in favor of ES6 arrow functions. This means, almost nobody uses it anymore, so much that it's considered a non-best practice.

That way, your code will meet the latest standards. 💪

import Signup from '../signup/signup';
import { logIn } from '../../redux/login/loginSlice';

function Login() {
Copy link

@Meltrust Meltrust Nov 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please, kindly refactor this functional component to ES6 arrow function, so your code complies with the latest standards.

Refactoring is easy:

const Login= () => {
  // ...
}

Explanation

The function keyword has been soft deprecated in almost all the software industry in favor of ES6 arrow functions. This means, almost nobody uses it anymore, so much that it's considered a non-best practice.

That way, your code will meet the latest standards. 💪

import { getCars } from "../../redux/cars/carsSlice";
import { addReservation } from "../../redux/reservations/reservationSlice";

function AddReservation() {
Copy link

@Meltrust Meltrust Nov 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please, kindly refactor this functional component to ES6 arrow function, so your code complies with the latest standards.

Refactoring is easy:

const AddReservation= () => {
  // ...
}

Explanation

The function keyword has been soft deprecated in almost all the software industry in favor of ES6 arrow functions. This means, almost nobody uses it anymore, so much that it's considered a non-best practice.

That way, your code will meet the latest standards. 💪

import { getReservations } from "../../redux/reservations/reservationSlice";
import { getCars } from "../../redux/cars/carsSlice";

function ReservationList() {
Copy link

@Meltrust Meltrust Nov 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please, kindly refactor this functional component to ES6 arrow function, so your code complies with the latest standards.

Refactoring is easy:

const ReservationList= () => {
  // ...
}

Explanation

The function keyword has been soft deprecated in almost all the software industry in favor of ES6 arrow functions. This means, almost nobody uses it anymore, so much that it's considered a non-best practice.

That way, your code will meet the latest standards. 💪

import colorsImg from "../../assets/colors.PNG";
import arrow from "../../assets/arrow.png";

const CarDetail = () => {
Copy link

@Meltrust Meltrust Nov 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • When I try to access a car's details, I get this error:

image

The browser's console:

image

The browser's local storage:

image

It seems I'm not authorized to look at the car details even though I'm logged in.

If this is a bug, kindly fix it so your app works as intended. If this is NOT a bug, it means your app requires special procedures to be run correctly (a .env file?, any extra steps required?) if this is the case, kindly add those instructions to your readme so all your users are able to test your app correctly. 👍

Kindly fix this bug so your app works as intended. 👍

import { useDispatch, useSelector } from "react-redux";
import { addCar } from "../../redux/cars/carsSlice";

const AddCar = () => {
Copy link

@Meltrust Meltrust Nov 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I cannot add cars:

image

It seems I'm not authorized to look at the car details even though I'm logged in.

I didn't test the DELETE functionality because I wasn't able to add cars.

If this is a bug, kindly fix it so your app works as intended. If this is NOT a bug, it means your app requires special procedures to be run correctly (a .env file?, any extra steps required?) if this is the case, kindly add those instructions to your readme so all your users are able to test your app correctly. 👍

Copy link

@Meltrust Meltrust left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @aradradev,

Wow, you did it 🎉

Brilliant

Thank you for the changes implemented 💪 🥇 ㊗️

Unless you want to add more features, go ahead to your final presentation ⏩ ⏩ ⏩

You are about to finish the Microverse program. You have come a long way!!!

Good luck in the software industry!! I'll see you there. ✨

Congratulations!!!!!! 🎉

applause

To highlight

  • Cars can now be added✔️
  • Cars details can now be accessed✔️
  • Great job✔️

Cheers and Happy coding!👏👏👏


@hmunish hmunish merged commit 5834f59 into main Nov 6, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants