Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 960 Bytes

File metadata and controls

31 lines (22 loc) · 960 Bytes

This is a Github OAuth App project that uses Cotter, Next.js, Github API to get user's repository list.

Getting Started

  1. Follow the tutorial at Cotter's Blog.
  2. Get your Cotter API Keys on Cotter's Dashboard.
  3. Export your API Keys:
export COTTER_API_KEY_ID=<API KEY ID>
export COTTER_API_SECRET_KEY=<API SECRET KEY>
yarn dev
  1. Make a file called apiKeys.js in the root folder, and copy this into the file:
export const API_KEY_ID = <API_KEY_ID>;
  1. Run the development server
npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.