this project uses github graphql api to pull react related popular libraries
- clone the repo
- set up . env -
Create .env in project's root folder and add you github's access token against
REACT_APP_GITHUB_TOKEN
key - install dependacies -
npm i
- run
npm start
In the project directory, you can run:
npm start
By default application start on port 3000
use following commands to test the application
npm test
use following command to run a docker image
docker run -p 3005:3000 -e REACT_APP_GITHUB_TOKEN={your-github-token} -it amsainfotech/react-github-graphql:1.0.3
other versions are availble for ARM platform as well