A simple React Application where users can search for GitHub Users. This utilized the GitHub Api.
Users should be able to:
- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Search for GitHub users by their username
- See relevant user information based on their search
- Switch between light and dark themes
- Bonus: Have the correct color scheme chosen for them based on their computer preferences. Hint: Research prefers-color-scheme in CSS.
- Semantic HTML5 markup
- Vite
- Typescript
- CSS modules
- SASS
- Flexbox
- Grid
- Mobile-first workflow
- GitHub API
After getting the basic structure of your application down with mock data. Implement functionality and handle errors as soon as possible. Allow yourself to do one component at a time and ensure the stylings are good for mobile, tablet and desktop before moving onto the next one.
I had a great experience combining css modules with scss styling, allowing me to avoid global collisions while having the joy of nesting with scss.
Improve react form validation and typescript. Optimize page speed and accessibility.
-
Vite - Best react build tool at the moment.
-
Axios - An excellent promise-based HTTP client for node.js. I prefer using this instead of fetch.
-
Netflify Page Deployment - I use Netlify for deploment because I found github pages can sometimes be buggy.
-
clsx - Finding a way to add classes in react is a little challenging but clsx offers an easy solution.
- GitHub - @NicholasAnich
- LinkedIn - @NicholasAnich
- Frontend Mentor - @NicholasAnich