/honkai-star-rail-clean-react

Project created to show a little bit more about "Honkai Star Rail" through a clean code, with high performance, clean architecture and accessibility.

Primary LanguageTypeScript


Honkai Star Rail + Clean Arch React


This project is about the launch of the new game from Mihoyo: Honkai Star Rail, and it was made to improve my skills in clean architecture, clean code, unitary tests, design pattern, storybook and accessibility.

The application is quite simple, showing some data of my favorite characters of the game until now. It is responsive and have a modern design, with some cool effects made with TailwindCSS and HeadlessUI.

All rules of clean architecture was respected and tested, as you see in the image and table below:

Unitary tests

Statements Branches Functions Lines
Statements Branches Functions Lines

Unitary tests coverage

Technologies used

  • React
  • TypeScript
  • Vite
  • TailwindCSS
  • Jest
  • Testing Library
  • Eslint
  • Prettier
  • Commit Lint
  • Husky
  • Axios
  • React Query
  • Storybook
  • HeadlessUI
  • Vite Plugin PWA
  • Vercel

Settings made

Accessibility

This project was very concerned with accessibility, taking care of issues such as: color contrast, screen readers, semantic html, gesture navigation, etc... And as you can see in the images below, everything is in accordance with the rules WCAG 2.1:

Access Monitor:
Access Monitor score

Wave:
Wave score

Google Lighthouse:
Google Lighthouse

Design

Everything was made with TailwindCSS, Headless UI and documented with Storybook. It is simple, but modern and responsive. Take a closer look:

Home First Section

Home Characters Section

Demo

The project is finished! Click here and test it!

Made with ❤️ by me