An open API service indexing awesome lists of open source software.

https://github.com/georgewpark/spacex-launches-table

This project demonstrates how React and the fetch API can be used to retrieve mission/launch data from the SpaceX REST API and display that data in a responsive table.
https://github.com/georgewpark/spacex-launches-table

css fetch-api javascript react spacex spacex-api table typescript

Last synced: 3 months ago
JSON representation

This project demonstrates how React and the fetch API can be used to retrieve mission/launch data from the SpaceX REST API and display that data in a responsive table.

Awesome Lists containing this project

README

        

# SpaceX Launches Table

This project demonstrates how React and the fetch API can be used to retrieve mission/launch data from the [SpaceX REST API](https://github.com/r-spacex/SpaceX-API#readme) and display that data in a responsive table.

![SpaceX Launches Table](demo-image.JPG 'SpaceX Launches Table')

## Live Demo

A live demo is available on [CodePen](https://codepen.io/GeorgePark/full/MBvMEN) and [Netlify](https://spacex-launches-table.netlify.app/).

## License

This project is licensed under the MIT License - see the [license.md](license.md) file for details.

## Project Setup

From the root directory, install project dependencies by running `npm install` from the terminal.

Build the files and start the local dev server by running `npm run dev` from the terminal. This should open the dev site automatically at http://localhost:3000/.

You can build the files without starting the dev server by running `npm run build` from the terminal to compile the development build or `npm run prod` to compile the production build.