Integrate with Github REST API

#13 · closed · 3 comments

View on GitHub ↗

julienbrg

- [ ] Create a page where we display all issues labelled `good first issue` across all active repositories ### resources - https://medium.com/@hi_7807/github-issues-api-tutorial-b7a12b1bcada - https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#list-organization-issues-assigned-to-the-authenticated-user - https://goodfirstissues.com/

Comments

julienbrg

Now that we have fixed [this one](https://github.com/w3hc/w3hc-web/pull/16), we can go ahead and create a page with all `good first issues`. @Theyozz You want to give it a try? You already have done a great job at testing the Github REST API so let's take it to prod!

julienbrg

I just closed #11 > A page listing all the good first issues across all the w3hc repositories.

julienbrg

@Theyozz We should be able to integrate the results of the REST API requests in a `goodFirstIssues` component. The following part would go right after the `PlasmicSoon` (and before the `/>`) [in the `soon.tx` file](https://github.com/w3hc/w3hc-web/blob/459d93c95f6589a53922d7f4847091ca1ec88f39/pages/soon.tsx#L32C8-L32C19): ``` section={{ props: { children: goodFirstIssues } }} ``` Then you want to define that `goodFirstIssues` component at [line 11.](https://github.com/w3hc/w3hc-web/blob/main/pages/soon.tsx#L11) We'll take care of the design later.