A simple client-side web app that displays Star Wars characters' info as fetched from the swapi API
I'm Jaume Fàbrega, your friendly neighborhood developer
-
Clone this project
-
Run
npm install
-
Add an
.env.local
file with the following content:REACT_APP_API_URL=https://swapi.dev/api
NODE_PATH=./src
-
Put this song on
-
Run
npm run start
-
Enjoy
To check its behavior offline:
- Run
npm run build
- Run
npx serve -s build
- Visit http://localhost:3000
- Browse the different pages
- Disconnect from the internet (or set offline in your dev tools' Network tab)
- Continue browsing
- Marvel at the awesomeness of nowadays browsers' capabilities
And, wherever you go...
May the force be with you