Skip to content

Simple, responsive, highly performant UI built with React and Typescript. This app test a person's prowess in Star Wars knowledge by taking the quiz.

License

Notifications You must be signed in to change notification settings

ricardoguerrasantana/star-wars-fan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star Wars Fan

Simple, responsive, highly performant UI built with React and Typescript. This app test a person's prowess in Star Wars knowledge by taking the quiz.

All data is provided in a unique JSON file which is loaded by the application for rendering each question with its respective answer options or a fee text input field, depending on the question type, and making any other sort of calculation such as answers checking and getting the Fan score.

Styling practice

This app uses the BEM (Block Element Modifier) styling method for achieving a responsive, friendly, pixel-perfect, user experience in vanilla CSS. No UI library was required.

React specific

The entire app was built using truly-reusable, testable functional components and Hooks. It also takes adventage of design patterns such as composition and separating presentational components from container components which allowed building generic components that were used all across the app as building-block base for crafting customized components.

Due the size of the project there was no need of any state management library. The useState Hook was implemented for managing state.

TypeScript

TypeScript was set up along with React by the create-react-app package for ensuring props type checking and enhancing code reliability.

Screenshots

Welcome

Mobile Desktop
Welcome - mobile view Welcome - desktop view

Questionnarie

Mobile Desktop
Questionnarie - mobile view Questionnarie - desktop view
Questionnarie - mobile view Questionnarie - desktop view
Questionnarie - mobile view Questionnarie - desktop view

2

Results

Mobile Desktop
Results - mobile view Questionnarie - desktop view
Results - mobile view Questionnarie - desktop view

About

Simple, responsive, highly performant UI built with React and Typescript. This app test a person's prowess in Star Wars knowledge by taking the quiz.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published