This project is a web application that interacts with SpaceX data using React, Apollo Client, and GraphQL. It allows users to view and explore information about SpaceX launches and missions.
- View Upcoming Launches: Browse a list of upcoming SpaceX launches with details such as mission name, launch date, and rocket type.
- Launch Details: Click on a specific launch to view more in-depth information, including mission objectives and launch site details.
- Past Launches: Access a historical archive of past SpaceX launches with relevant data and outcomes.
These instructions will help you set up and run the project on your local machine for development and testing.
Ensure you have the following installed on your system:
-
Clone the repository:
git clone https://github.com/dlauck92/react-apollo-graphql-spacex.git
-
Navigate to the project directory:
cd react-apollo-graphql-spacex -
Install the dependencies:
yarn install
To start the development server:
yarn startThis will run the app in development mode. Open http://localhost:3000 to view it in your browser. The page will reload if you make edits, and you will see any lint errors in the console.
In the project directory, you can run:
yarn start: Runs the app in development mode.yarn test: Launches the test runner in interactive watch mode.yarn build: Builds the app for production to thebuildfolder.yarn eject: Removes the single build dependency from your project.
For more information on these scripts, refer to the Create React App documentation.
To learn more about the technologies used in this project, consider exploring the following resources:
Contributions are welcome! If you have suggestions for improving the application or encounter any issues, please feel free to submit a pull request or open an issue in the repository.
This project is licensed under the MIT License. See the LICENSE file for details.
Note: This README is a general template based on the project's structure and common practices. For the most accurate and detailed information, please refer to the project's source code and documentation.