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

Pull Request for Space Travelers' Hub App #44

Open
wants to merge 85 commits into
base: master
Choose a base branch
from
Open

Conversation

ClaudiaRojasSoto
Copy link
Owner

Description

This Pull Request introduces the work done in the develop branch to the master branch of our Space Travelers' Hub app. The application meets all project requirements. It operates as a web platform that provides commercial and scientific space travel services. Users can book rockets and join selected space missions.

Main Changes

  • Creates the application using Create React App.
  • Installs and configures Redux for the application state management.
  • Develops routing with React Router.
  • Creates views and components for rockets, missions, and user profile.
  • Implements Redux actions and reducers for fetching data from the SpaceX API.
  • Develops actions and reducers for booking rockets and joining missions.
  • Creates actions and reducers for canceling rockets bookings and leaving missions.
  • Implements conditional components rendering to display the current state of reservations and memberships.
  • Designs the "My Profile" section to visualize users' bookings and missions.
  • Adds tests for all components and functions with Jest and React Testing Library.

Fulfilled Requirements

  • Passes all Linter tests without errors.
  • Follows correct Gitflow.
  • Documents the work done in a professional way.
  • Follows best practices for HTML & CSS.
  • Follows best practices for JavaScript.
  • Uses React and Redux in its development.
  • Sets up and uses testing libraries (React Testing Library and Jest).
  • Does not preserve user data.
  • Review the changes in the files and test the functionality of the application. Verify that the application meets all the requirements and that all tests pass correctly.

We look forward to your feedback and/or approval to proceed with the merge.

Thank you for your time and consideration.

Best regards,
@CesarHerr
@ClaudiaRojasSoto

ClaudiaRojasSoto and others added 30 commits July 23, 2023 10:47
…figuration for react-redux, github-workflows and the commands to install react-redux, redux-logger and react-router-dom
…as downloaded from the link that appear on the requirements
…es rocketsSlice.js and rocketsActions.js and the folder missions with the files missionsSlice.js and missionsActions.js
… React and creating new tag elements inside app function adding the nav with a list and inside it the Navlinks to rockest, missions and my-profile with their routes
…components

Feature/setup nav links components
…reStore and the store with the reducer for rockets
…dy added by default, change the activeClassname by activeclassName and add the importation of store from redux/store
…itial state, the synchronous actions that will update that state, and the reducer that will update the state based on those actions
…). These actions will be responsible for making the API call and dispatching synchronous actions to update the state with the data received from the API.
…nterface. Use the useSelector hook to get the data from the state stored in Redux and the useDispatch hook to dispatch the actions defined
@ClaudiaRojasSoto ClaudiaRojasSoto added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 26, 2023
Copy link

@Lucas-Masaba Lucas-Masaba left a comment

Choose a reason for hiding this comment

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

Hello @ClaudiaRojasSoto && @CesarHerr 👋 ,

Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

almost-there

Highlights 🍾

  • Descriptive pull request message ✍️
  • Professional README 📜
  • Well-written commit messages ✍️
  • All requirements met and site is working as expected ⚙️

Optional suggestions 💭

Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.

Cheers and Happy coding!👏👏👏 💻

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @Lucas-Masaba in your question so I can receive the notification.


As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Comment on lines +17 to +40
<header className="header">
<div>
<img src={planet} alt="logo" />
<h1>Space Traveler&apos;s Hub</h1>
</div>
<nav>
<ul>
<li className="nav-item">
<NavLink activeclassname="active" to="/">
Rockets
</NavLink>
</li>
<li className="nav-item">
<NavLink activeclassname="active" to="/missions">
Missions
</NavLink>
</li>
<li className="nav-item">
<NavLink activeclassname="active" to="/my-profile">
My Profile
</NavLink>
</li>
</ul>
</nav>

Choose a reason for hiding this comment

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

[OPTIONAL]

  • It would look much cleaner if this navbar was in a file in the component folder and imported here.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@Lucas-Masaba You are right! this is a great idea, thank you very much for your review 😄

[SpaceTravelers.webm](https://github.com/ClaudiaRojasSoto/Space_Travelers/assets/111262493/c6a3917d-a45b-4818-9d94-191a8192c06c)
## 🚀 Live Demo <a name="live-demo"></a>

> You can see the live demo of this project: [click here](https://space-travelers-z8vp.onrender.com)

Choose a reason for hiding this comment

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

Awesome that you deployed your project 🏄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants