Skip to content

jaumefabrega/star-wars-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star wars assignment

What is this?

A simple client-side web app that displays Star Wars characters' info as fetched from the swapi API

Who are you?

I'm Jaume Fàbrega, your friendly neighborhood developer

What should I do?

  1. Clone this project

  2. Run npm install

  3. Add an .env.local file with the following content:

    REACT_APP_API_URL=https://swapi.dev/api

    NODE_PATH=./src

  4. Put this song on

  5. Run npm run start

  6. Enjoy

...and it works offline!

To check its behavior offline:

  1. Run npm run build
  2. Run npx serve -s build
  3. Visit http://localhost:3000
  4. Browse the different pages
  5. Disconnect from the internet (or set offline in your dev tools' Network tab)
  6. Continue browsing
  7. Marvel at the awesomeness of nowadays browsers' capabilities

Have a good day!

And, wherever you go...

May the force be with you

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published