A simple ui for the Star Wars api written in TypeScript using React.js
This project was bootstrapped using the TypeScript template of the Create React App.
npm i # Install dependencies
npm run start # Starts the development server on localhost:3000
Use npm run [COMMAND]
to execute available scripts.
Command | Description |
---|---|
start |
Starts the development server |
build |
Build the app for production |
postbuild |
Runs automatically after the build. Creates a 200.html for surge.sh |
test |
Launches the test runner |
coverage |
Analyzes test coverage |
lint |
Checks for linting errors |
eject |
Ejects from react-scripts |
The Star Wars API backend is hosted on swapi.py4e.com.
The deployment is automated using Github Actions and pushes the production build automatically to surge.sh.