/user-search

Primary LanguageJavaScript

Github User Search

Search and view users via the Github API - http://www.githubusersearch.zz.am

Requests are cached in session storage to limit the use of the API.

What is this?

A personal project built with React, Redux and other tools to search users and view their profiles on Github.

Running on AWS

  1. Create an instance on EC2
  2. install nodejs, npm, yarn
  3. Clone the repository with git command
  4. Install dependences yarn
  5. Run the server yarnpkg run start
  6. Visit http://[aws public DNS that you create]:3001/github-user-search/ (note the trailing slash)

Running locally

  1. Clone the repository
  2. Open dev.config.js and Remove line 12(host : '0.0.0.0',)
  3. Install dependences yarn
  4. Run the server yarnpkg run start
  5. Visit http://localhost:3001/github-user-search/ (note the trailing slash)

API limit

When running the app, you can export a personal access token and this will be sent along in any API calls to increase the limit:

export USER_SEARCH_OAUTH=<your token>
yarnpkg run start