This is a simple SPA that provides a search tool to look for repositories by name.
Demo at https://mossen-catalog-list.netlify.app/
React.js has been used as the main framework and tailwindcss as CSS framwork:
An input field is designed for user to input a keyword to be searched on Github, as a result a list of repositories containing the keyword in their name will appear. By scrolling down the list a new request is sent to fetch more repositories.
These instructions will get you a copy of the project up and running on your local machine.
- Application environment
node v13.10.1 yarn 1.22.0
- Local development & builds
node v13.10.1 yarn 1.22.0
- Local development & builds (using Docker)
Docker
-
Docker
cd TO_PROJECT_ROOT INIT=1 docker-compose up
INIT=1
is needed for the first time to install everything needed.Use
docker-compose exec www sh
to ssh into the container and runyarn start
. -
Local
cd TO_PROJECT_ROOT yarn install yarn start
yarn test
yarn build
Open http://localhost:3000 to view it in the browser.
- Mohsen Khodadadi - Initial work - Linkedin