Skip to content

mckeekaylie/kw-swapi-app-react

Repository files navigation

The Planets of Star Wars

This is a Next.js 15.0.3/React 19.0.0 single-page application that fetches planets in the Star Wars canon via SWAPI.

Getting it up and running locally

IMPORTANT: you must have node.js and Git installed on your computer for the following to work:

  • run git clone https://github.com/mckeekaylie/kw-swapi-app-react.git inside the directory of choice on your desktop
  • run yarn inside the project directory kw-swapi-app-react
  • run yarn dev inside the project directory kw-swapi-app-react
  • navigate to (localhost:3000) in your preferred browser

Running Jest tests

This application contains a series of tests for both the home and detail views, implemented with Jest.

To run the tests:

  • run yarn test inside the project directory * * kw-swapi-app-react

Browser support DESKTOP

  • Chrome verified with: Version 131.0.6778.71 (Official Build) (x86_64)
  • Firefox verified with: Version 132.0.2 (64-bit)
  • Safari verified with: Version 17.6 (17618.3.11.11.7, 17618)
  • Opera One verified with Version 114.0.5282.185 x86_64
  • DuckDuckGo verified with Version 1.114.0 308

Browser support MOBILE

  • Chrome verified with: Version 131.0.6778.39
  • Firefox verified with: Version 132.0.2
  • Safari verified with: iPad OS 17.6.1
  • Opera verified with Version 85.7.4500.82229
  • DuckDuckGo verified with Version 5.219.0

Image Attributions