/spaceX

Primary LanguageTypeScript

SpaceX Launch Tracker

SpaceX Launch Tracker is a web application that allows users to track SpaceX launch missions, view details about each launch, and explore information about crew members involved in the missions.

Features

  • Launch Tracking: View a list of upcoming and past SpaceX launch missions.
  • Launch Details: Click on a launch to view detailed information such as mission name, launch date, rocket details, and crew members involved.
  • Crew Information: Explore information about crew members, including their names, agencies, and status.

Technologies Used

  • React: A JavaScript library for building user interfaces.
  • React Router: A routing library for React that enables navigation between different components.
  • Axios: A promise-based HTTP client for making requests to the SpaceX API.
  • Chakra UI: A simple, modular component library for React applications.
  • TypeScript: A statically typed superset of JavaScript that enhances code quality and developer productivity.
  • Jest and React Testing Library: Testing frameworks for unit and integration testing React components.

Installation

  1. Clone the repository:

    git clone https://github.com/tizhad/spacex.git
  2. Navigate into the project directory:

    cd spacex
  3. Install dependencies:

    npm install
  4. Start the development server:

    npm start
  5. Open your browser and visit http://localhost:3000 to view the application.

Testing

Note: Test config is not working now.

To run tests, use the following command:

npm test

Acknowledgements

  • SpaceX API: The data used in this project is fetched from the SpaceX API.