Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Build a Github OAuth App using Next.js and Cotter

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages