Simple app using GitHub REST API to display GitHub user details.
See live @ drzamich.github.io/github-badge.
- Display user details: avatar, name, bio and 3 most-starred repos.
- Fully responsive.
- Full screen-reader support.
- Complete CI workflow: test + lint + build + deploy defined in a single YAML file thanks to GitHub Actions.
- React + TypeScript (bootstrapped with CRA)
- GitHub REST API
- styled-components
- Docker
Using docker to run the app locally is the recommended approach, as it does not matter if you have Node v12 installed on Ubuntu running on an AMD processor or a Windows machine with Node v15 on an Intel. When using Docker you can be sure that you won't run into any config or compatibility issues.
docker build -t drzamich/github-badge .
docker run -it -p 3000:3000 drzamich/github-badge
docker run -d -p 3000:3000 drzamich/github-badge
docker run -it drzamich/github-badge test:ci
docker run -it drzamich/github-badge eslint
docker run -v ${PWD}/build:/usr/src/app/build -it drzamich/github-badge build