Code Monkey home page Code Monkey logo

github-challenge's Introduction

Github-Challenge

This is a test for a Front-End Engineer position at Docker. The test consists of creating an interface that allows a user to do a search by username and return basic information, as well as a list of repositories as in Github referring to that username.

Publish domain

https://dock-challenge.herokuapp.com/

obs. before running the project, if you not have github personal access token, it's necessary to generate a personal access token in the github

Generate Personal Access Code

  1. access your github profile
  2. go to settings
  3. go to Developer Settings
  4. go to Personal access token
  5. click in Generate new token
  6. create the name token with any expiration date
  7. select all scopes
  8. generate and copy the token

Run the project

  1. git clone https://github.com/JohnOliver23/Github-Challenge.git
  2. cd Github-Challenge/
  3. yarn install
  4. open the file .env (if you are in linux environment, you can open with the comand : gedit .env)
  5. change the line that contains REACT_APP_GITHUB_TOKEN=xxxxx-xxxxx-xxxxxx-xxxx for REACT_APP_GITHUB_TOKEN=your personal access token
  6. yarn start

Run the tests

  1. cd Github-Challenge/
  2. yarn test

Run the tests report

  1. yarn test:coverage tests

Pages

Home, Without Username Searched

  • User can search repositories filtering by username
  • the screen without username searched

Desktop

Desktop1

Mobile

Mobile1

Home, With Username Searched

  • User can search repositories filtering by username
  • the screen with username searched

Desktop

Desktop2

Mobile

Mobile2

Technologies:

  • Typescript
  • HTML
  • CSS
  • GraphQL

React FC with hooks

  • useState for state control
  • useMemo to memorize calculated values

Libraries

  • Styled components
  • SASS
  • Axios
  • React Router DOM
  • React-Icons

github-challenge's People

Contributors

johnoliver23 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.