The project goal is to implement a small client application using Nextjs and GitHub GraphQL API.
The data is obtained from Github React using the Github GraphQL API, and it allows users to see a list of Github issues and filter this list by State (Open/Closed).
Used GraphQL API Explored to see Schema and run Queries.
For security reasons and to avoid exposing sensitive data, the NEXT_PUBLIC_GITHUB_ACCESS_TOKEN is set in a .env.local file, so to run the project locally you have to:
-
Create your personal access Github token
-
Create the .env.local file in the root folder and set the values as follows:
NEXT_PUBLIC_GITHUB_ACCESS_TOKEN=<your_github_token>
- Clone repo to local machine
- Run
npm install
to install dependencies - Create
.env.local
file on the root folder and add value for NEXT_PUBLIC_GITHUB_ACCESS_TOKEN - Run
npm run dev
- Open http://localhost:3000 with your browser to see the result
- Run
npm run test
- Next.js
- Apollo GraphQL
- React
- Material UI icons
- MomentJS
- Typescript
- Styled Components
- Jest
- React Testing Library
- Change pagination strategy
- Use Router
- Handle errors
- Improve UI
- Improve flaky tests
- Store in cache
- Add Cypress E2E tests