API interface for SWAPI, specifically the 'planets' endpoint
In the project directory, run yarn
to download project dependencies.
Then run yarn start
:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
- Create React App to bootstrap the app (with typescript flag)
- Typescript to demonstrate using types for static analysis in JS. (Particularly helpful when defining the shape of http responses in accordance with the SWAPI documentation)
- Axios for HTTP requests
- CSS Modules, which are built in to create-react-app projects, for quick, and convenient styling.