This project is a web application for a company that provides commercial and scientific space travel services

Overview

Space Traveler's Hub

This project is a web application for a company that provides commercial and scientific space travel services. The application will allow users to book rockets and dragons and join selected space missions. It is built by react and redux by using SpaceX API.

screencapture

Built With

  • HTML & CSS & JavaScript
  • Html, Css & JavaScript linters
  • Reactjs and Redux

Live Demo

Live Demo Link

Getting Started

This project was bootstrapped with Create React App.

  • clone the repository by running
    git clone https://github.com/selma-belhadj/space-travelers.git
  • navigate to the folder
    cd space-travelers
  • Install packages
    npm install
  • Run the app
    npm start
  • Eject the app
    npm run eject
  • Create build app
    npm run build
  • Test Linters app
    npm run check-linters

Authors

👤 Selma Belhadj

👤 Awais Amjed

👤 Radmila Stojceva

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

Comments
  • Required changes

    Required changes

    In this PR, the required changes by the reviewer were implemented:

    • Added underline to the active link. ✅
    • Added Redux Logger to the Project. ✅
    • Refactored My Profile page to use Filter. ✅
    opened by awais-amjed 1
  • Space Travelers' Hub

    Space Travelers' Hub

    Space Travelers' Hub is a web application for a company that provides commercial and scientific space travel services. The application will allow users to book rockets and dragons and join selected space missions. It is built in react and redux by using SpaceX API.

    Link to Live demo: demo

    Screenshot
    opened by awais-amjed 1
  • Final touches

    Final touches

    In this PR, I have done the following tasks:

    • added type to the rockets space
    • fixed the font not being applied
    • removed the unnecessary TODO
    • updated the name and icon of the app
    • updated the readme file
    • updated the mission reducer
    opened by selma-belhadj 1
  • Missions and header tests

    Missions and header tests

    What does this PR do?

    This PR is raised to add the request to write unit tests with React Testing Library.

    Description of the task to be completed

    • Add tests for individual Reducer cases.
    • Add tests to check if the header and missions render correctly.

    How should it be tested

    • clone the repository git clone https://github.com/selma-belhadj/space-travelers.git
    • navigate to the folder cd space-travelers
    • checkout the feature git checkout missions-fetch-list
    • Install packages npm install
    • Create build app npm run build
    • Run the app npm start
    opened by selma-belhadj 1
  • Rocket components testing

    Rocket components testing

    In this PR, the following changes were introduced:

    • Added tests for individual Reducer cases. ✅
    • Added tests to check if the Rockets Page renders correctly & for testing the reserve rocket button. ✅
    opened by awais-amjed 1
  • Display joined missions in My profile

    Display joined missions in My profile

    What does this PR do?

    This PR is raised to add the request to display joined missions in My profile page.

    Description of the task to be completed

    • Render a list of all joined missions (use filter()) on the "My profile" page.

    How should it be tested

    • clone the repository git clone https://github.com/selma-belhadj/space-travelers.git
    • navigate to the folder cd space-travelers
    • checkout the feature git checkout missions-fetch-list
    • Install packages npm install
    • Create build app npm run build
    • Run the app npm start
    opened by selma-belhadj 1
  • [1pt] Create basic structure for Rockets - Setup

    [1pt] Create basic structure for Rockets - Setup

    • Create a route and a view component. Use <NavLink /> for the page navigation links and style active class to indicate which section/page the user is currently on (underline active navigation link).
    • Create a directory for all Redux state slice files.
    opened by selma-belhadj 1
  • [4pt]  Fetch rockets - Fetch data

    [4pt] Fetch rockets - Fetch data

    Fetch data from the Rockets endpoint (https://api.spacexdata.com/v3/rockets) when the application starts (as Rockets is the default view).

    Once the data are fetched, dispatch an action to store the selected data in Redux store:

    • id
    • name
    • type
    • flickr_images

    NOTE: Make sure you only dispatch those actions once and do not add data to store on every re-render (i.e. when changing views / using navigation).

    opened by selma-belhadj 1
  • [4pt] Display rockets - Lists render

    [4pt] Display rockets - Lists render

    • Use useSelector() Redux Hook to select the state slices and render lists of rockets in corresponding routes. i.e.:
    // get rockets data from the store
    const rockets = useSelector(state => state.rockets);
    
    • You can style the whole application "by hand" or you could use React Bootstrap, a UI library that could speed up the process. This is a popular library and working with its components would be good practice.
    • Render a list of rockets (as per design). For the image of a rocket use the first image in the array of flickr_images.
    opened by selma-belhadj 1
  • [3pt] Implement rocket booking - Actions

    [3pt] Implement rocket booking - Actions

    • When a user clicks the "Reserve rocket" button, action needs to be dispatched to update the store. You need to get the ID of the reserved rocket and update the state. Remember you mustn't mutate the state. Instead, you need to return a new state object with all rockets, but the selected rocket will have an extra key reserved with its value set to true. You could use a JS filter() or map() to set the value of the new state - i.e.:
    const newState = state.map(rocket => {
        if(rocket.id !== id) 
            return rocket;
        return { ...rocket, reserved: true };
    });
    
    
    • Regardless of which method you choose, make sure you place all your logic in the reducer. In the React view file, you should only dispatch the action with the correct rocket ID as an argument.
    opened by selma-belhadj 1
  • [1pt] Implement rocket booking cancelation - Actions

    [1pt] Implement rocket booking cancelation - Actions

    • Follow the same logic as with the "Reserve rocket" - but you need to set the reserved key to false.
    • Dispatch these actions upon click on the corresponding buttons.
    opened by selma-belhadj 1
Owner
Selma Belhadj
Open to new job opportunities | Full-Stack Developer | Computer Science Engineer | Full-time student at Microverse.
Selma Belhadj
This a web application for a company that provides commercial and scientific space travel services. The application will allow users to book rockets, dragons and join selected space missions.

Space Travelers' Hub In this project, we have worked with the real live data from the SpaceX API. Our task was to build a web application for a compan

Apuabi Titilope 4 Oct 31, 2022
This project is a web application for a company that provides commercial and scientific space travel services

Space Traveler's Hub This project is a web application for a company that provides commercial and scientific space travel services.

Selma Belhadj 5 Jun 8, 2022
This web application provides commercial and scientific space travel services. The application allows users to book rockets and join selected space missions.

space-hub About Project "Space Traveler's Hub" is A web application that provides commercial and scientific space travelling services, We are working

Nicholas Emmanuel 7 Nov 2, 2022
This web application provides commercial and scientific space travel services. The application allows users to book rockets and join selected space missions.

Space Traveler's Hub This web application provides commercial and scientific space travel services. The application allows users to book rockets and j

Michael Mesfin 6 Oct 4, 2022
Build a web application for a company that provides commercial and scientific space travel services

Build a web application for a company that provides commercial and scientific space travel services. The application will allow users to book rockets and join selected space missions

Abraha Kahsay 5 Aug 27, 2022
In this project we built a web application that consumes an SpaceX API. It provides commercial and scientific space travel services that allows users to book rockets and join selected space missions.

Space Travelers' Hub In this project we built a web application that consumes an SpaceX API. It provides commercial and scientific space travel servic

Diego Yon 7 Sep 30, 2022
This is a dummy website for company that provides commercial and scientific space travel services

This is a dummy website for company that provides commercial and scientific space travel services. This application will allow users to book rockets and join selected space missions.

David Ouma 2 Apr 14, 2022
A Travel companion app using Google Maps API, Travel Search and Weather API

Travel Advisor Introduction An advanced Travel Companion Application using Google Maps. With Geolocation, Google Maps API, Searching for places, Fetch

Sunny Bhadani 4 Nov 11, 2022
Space Travelers' Hub - a web application that facilitates booking rockets and join selected space missions

This is a web application that facilitates booking rockets and join selected space missions. It is built for a company that offers both commercial and scientific space travel services. The application also works with real live data from the SpaceX API.

Mong'are 6 Mar 29, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Welcome to Space Traveler's HUB, this web app allows the user to take a fictional tour across the space.

Welcome to Space Traveler's HUB, this web app allows the user to take a fictional tour across the space. The user can choose a rocket from our catalog interface, and reserve it. Also, the user can see recent special missions and join them. Finally, the user will be able to keep track of all your rockets and mission they are subscribed to. Build with React, Redux, React-router, and Railwindcss.

Mihreteab Misganaw 3 Jan 27, 2022
This project provides a React-powered web experience using the PokeAPI. It also is a creative space to hone frontend skills.

pokedex-nova This project provides a React-powered web experience using the PokeAPI. It also is a creative space to hone frontend skills. Available Sc

Anthony Williams 2 Feb 1, 2022
"Space-Travelers-Hub" is a website that allows users to book rockets and join selected space missions by using data from the SpaceX API.

Space-Travelers-Hub This project was bootstrapped with Create React App. Description "Space-Travelers-Hub" is a website that allows users to book rock

Tresor Sawasawa 4 Mar 13, 2022
Calculates maximum composite SLA for a list of sequentially provided cloud services or your custom-defined services.

SlaMax Calculates maximum composite SLA for a list of sequentially provided cloud services or your custom-defined services. Here are a few use-cases y

Mikael Vesavuori 4 Sep 19, 2022
This repository demonstrates how to integrate your Dialogflow agent with 3rd-party services services using a Node.JS backend service

This repository demonstrates how to integrate your Dialogflow agent with 3rd-party services services using a Node.JS backend service. Integrating your service allows you to take actions based on end-user expressions and send dynamic responses back to the end-user.

ddayto 10 Jul 21, 2022