This is a web app for searching GitHub repositories and showing their details.
For the Japanese documentation, please refer to README-ja.md
.
- Search results are presented in real-time (incremental search)
- Details are shown when the repository is tapped or clicked
- React and Redux are used
- Also: TypeScript, GraphQL (Apollo Client), Jest
- Made use of Create React App for setup
- Configurations of Webpack and Babel remains the default of Create React App
Generate GitHub GraphQL API v4 token in advance. The default scope (only public access
) is sufficient.
Run cp .env.example .env
, then you can add your API token to the generated .env
file.
The Node.js version used the development is v10.16.2
.
If nvm (Node Version Manager) is already installed, you can switch the version of Node.js to v10.16.2
by the following command:
nvm install
nvm use
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Launches the test using Jest and Enzyme.
At present, the test mainly checks whether each component is rendered without crashing.
Builds the app for production to the build
folder.