Code Monkey home page Code Monkey logo

therebel-github's Introduction

CoderSchool FTW - * THE REBEL GITHUB - GROUP PROJECT *

image

This is a simple app written with Reactjs to get/post/put/patch issues and gists on Github with API.

Created with love by: KHOA DAM ANH VIET HUY NGUYEN VY HOANG

View Demo online: https://admiring-yonath-7a4487.netlify.com (not working)

The following user stories are implemented

  • The user can enter a repository in a search bar, click "search", and see the associated issues. The repository should be of the format owner/repo-name, e.g. facebook/react. If the repository does not exist, the user should see a proper error message.
  • The user should be able to see the following information for each issue:
    Issue Title
    Number of the issue
    Owner of the Issue
    Owner Avatar
    How long ago the issue was created in a human-friendly format (e.g. 2 days ago)
    Body of the Issue
    Label - note the color as returned by the API.
    State of Issue (Open/Closed).
    
  • The user should be able to see multiple pages of results, by clicking a pagination control.
  • There is also pagination feature in "list of repo" page. In additional, Pagination works perfectly with Routing and any actions.
  • The user should be able to see the body of the issue rendered in markdown.
  • he user should be able to create a new issue via a modal for the repository, by clicking on a "new issue" button. Clicking on this button will pop open a modal that asks for the requisite fields.
  • If there is an error creating the issue (for example, the user not supplying all required parameters), there should be a nice error message to the user.
  • Optional User Stories
  • The user can see more details (including comments!) in a modal that's opened by clicking on the title of the issue.
  • The user, upon opening this modal, can add a comment via a textarea at the bottom of the page.
  • The user, upon opening the modal, can close the issue. If the person does not have the appropriate access to close an issue, the user sees a nicely formatted error message.
  • The user can see reactions attached to each comment (Reactions API).
  • the user can see reactions attached to the issue in additional to each comment
  • The user can add reactions to a comment (API documentation).
  • The user should be able to see his last action's result (new issue, new comment, new reactions)
  • Input Fuzzy Matching: the user should be able to type in either https://github.com/facebook/react or facebook/react, BOTH should work.
  • Instead of using Modal to show issue, use React Router (link) to navigate to different URL issues/:issueId to display the full issue. Have the Back button to go back to the previous page (from the individual issue page).
  • The user should be able to see other user's public gists (all gists content) when using search Gist button.

Time consumed:

  • 72 hours

Lessons learned:

  • Syntax
  • Organising app structure
  • Styling in CSS and JSX
  • using API
  • Team work

therebel-github's People

Contributors

kyakaze avatar huynhhoangvy avatar vietanhdtd avatar nguyenhuy1812 avatar

Watchers

James Cloos avatar

Forkers

vietanhdtd

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.