GitHub Member Directory is a web app that pulls and displays GitHub user information in cards.
To run the web app locally:
- Clone the repo
- cd into repo
cd github-member-directory
- Install all dependencies
or install Vite only
yarn install
yarn add vite
- Run app
yarn dev
- Only pulled 30 logins from List users because of unauthorized rate limits of 60 when requesting Get a user
- Chose to clip all member details longer than 200px so that all the cards remain the same size and alignment
- Vite
- ESLint
- Prettier
- Styled Components
If I had more time, I would add:
- Unit tests
- Better UX design
- Cache the logins and/or member datas pulled to avoid rate limit issues
- Pagination includes buttons that goes straight to first or last page
- Pagination has CSS hover effect or some sort of indications that numbers are clickable
- User ability to retrieve a certain amount of users or to look up a specific user
If I had more time, I would address the following edge cases:
- Not to render members with missing username/profile link