-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
Milestone 1:- Setup frontend app
Milestone 2:- Add routes redux store
Milestone 3:- Add frontend login page
Test snapshots
Final Milestone:- Deploy
There was a problem hiding this 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! 👍👍👍
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.
src/components/Slider.js
Outdated
There was a problem hiding this comment.
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() { |
There was a problem hiding this comment.
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. 💪
src/components/login/login.js
Outdated
import Signup from '../signup/signup'; | ||
import { logIn } from '../../redux/login/loginSlice'; | ||
|
||
function Login() { |
There was a problem hiding this comment.
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() { |
There was a problem hiding this comment.
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() { |
There was a problem hiding this comment.
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 = () => { |
There was a problem hiding this comment.
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:
The browser's console:
The browser's local storage:
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 = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I cannot add cars:
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. 👍
There was a problem hiding this 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 🎉
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!!!!!! 🎉
To highlight
- Cars can now be added✔️
- Cars details can now be accessed✔️
- Great job✔️
Cheers and Happy coding!👏👏👏
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
Features
Core Features (Required for Every Team Size)
Changes Made:
Additional Information:
Status:
Checklist:
Backend Pull request:
Backend PR
Tasks:
Thank you for your time and consideration!
Best regards,
The Team.