Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 2.36 KB

README.md

File metadata and controls

55 lines (42 loc) · 2.36 KB

SWAPI UI

A simple ui for the Star Wars api written in TypeScript using React.js

Website

In action

swapi-ui-preview

Open the live version

Quick Overview

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

Available scripts

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

Backend

The Star Wars API backend is hosted on swapi.py4e.com.

Deployment

The deployment is automated using Github Actions and pushes the production build automatically to surge.sh.