hepu / star-wars-app

ReactJS app for the Star Wars API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Star Wars App

ReactJS app that allows the user to sign in and get all the relevant information from the Star Wars API

Getting Started

Requirements

  • node >16
  • npm or yarn

Installation

  • yarn install

Running

  • To run the web server, run: yarn start

About the code

This is a ReactJS application that uses react-router to navigate between pages. API calls are done using fetch and a small lib that allows the routes to be created beforehand. Querying the API its done by implementing react-query on all the views.

Things to improve

  • API errors displaying
  • Implement Reset password
  • Custom UI to make it look unique
  • Refresh token before the 1 hour expiration

About

ReactJS app for the Star Wars API


Languages

Language:JavaScript 97.5%Language:HTML 1.9%Language:CSS 0.6%Language:Shell 0.0%