This project is a simple github interface using ReactJs on top of Zeit NextJs
- Install all project dependencies with
npm install
- Start the development server with
npm run dev
This project will consume github API even if you skip this step. If you skip this step, github API will limit requests.
- Create a
.env
file on application root - Add github
CLIENT_ID
andCLIENT_SECRET
CLIENT_ID=xxxxxxxxxxxxxxxxx
CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxx
- Testing without coverage
npm test
- Testing with coverage
npm run test:coverage
- Testing with watch
npm run test:watch
- This project uses eslint with custom airbnb config as a lint tool, to start lint run
npm run lint
- This project uses Commitizen git convention, to commit with right conventions run
npm run commit
- This project uses a concise timeline, all code pushed to master should be rebased
- To build the project for production run
npm run build