-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(new-sample):Github PR Dashboard (#22)
* feat(new-sample):Github PR Dashboard * feat:Added labels and markdown reader * feat(columns): Added background color to the columns * refactor: Changed the header title and removed comments * chore: Removed a comment
- Loading branch information
1 parent
c6d2033
commit 4d2cc3a
Showing
26 changed files
with
48,637 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Github PR Dashboard | ||
|
||
The app is a demo of how you can build a Github PR Dashboard using React, graphql and [Canonic](https://canonic.dev/) as the **Backend** | ||
|
||
 | ||
|
||
**Pull requests details are fetched from your Canonic project.** | ||
|
||
## Links | ||
|
||
### [Demo](https://canonic-github-dashboard.netlify.app/) | ||
|
||
### [Tutorial]() | ||
|
||
## Running the example | ||
|
||
### Frontend | ||
|
||
The frontend is a simple create-react-app. After cloning, install the dependencies. | ||
|
||
``` | ||
yarn install | ||
``` | ||
|
||
Then start the dev server | ||
|
||
``` | ||
yarn start | ||
``` | ||
|
||
### Backend | ||
|
||
You can find the sample backend project **Github PR Dashboard** [here](https://app.canonic.dev/dashboard/marketplace/samples) and clone it. | ||
|
||
 | ||
|
||
Copy the base url from the docs | ||
|
||
 | ||
|
||
Change the value of URI in [index.js](./src/index.js) | ||
|
||
The example should now fetch data from the project you deployed. |
Oops, something went wrong.