Skip to content

jpdjere/GitHub-Repo-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Repo Search (TA Frontend Assignment)

https://github-repo-search.herokuapp.com/

A web app for searching Github repos, list them by popularity and list their top contributors. Uses Github Developer API v3.

Based on the Express + React starter boilerplate, which is in turn based on Express Generator and Facebook Incubators' Create-React-App.

The Express server runs on port: 3001 and the React Frontend on port: 3000.

The React Frontend, created using create-react-app, is found inside the client directory.

Libraries used

Node/Express Backend

React Frontend

Development Instructions

  1. On the root level, install Node dependencies with npm install.
  2. Start the Node/Express.js backend server with npm start.
  3. On another Terminal tab, enter the client subdirectory and install the dependencies with npm install.
  4. Start the Webpack dev-server with npm start.
  5. In the client's package.json file, the "proxy": "http://localhost:3001" config proxies requests form the frontend to the Express backend.
  6. Navigate to the development build in localhost:3000.

Deploy to production

  1. In the client subdirectory, create a production build with npm run build.
  2. Express was configured to point to the build directory on the app.js file.
  3. Deploy your Node app and Express will automatically point to your React build.
  4. You can see the production build by starting the Node/Express server and navigating to localhost:3001.

Author

About

A web app for searching Github repos, using Github Developer API v3.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published