discuss icon indicating copy to clipboard operation
discuss copied to clipboard

Discuss with me 💬

Discuss with Atinux

Demo of using Nuxt 3 with GitHub authentication and creating issues with real-time updates.

Screenshot 2021-11-23 at 12 03 19

See it live on https://discuss.atinux.com

Setup

Make sure to install the dependencies

yarn install

And copy the .env.example to .env

cp .env.example .env

GitHub

Create a GitHub OAuth application and make sure to set:

  • Homepage URL: http://localhost:3000
  • Authorization callback URL: http://localhost:3000/api/github/callback

Fill your .env with NUXT_PUBLIC_GITHUB_CLIENT_ID and NUXT_GITHUB_CLIENT_SECRET variables .

Development

Start the development server on http://localhost:3000

yarn dev

Production

Build the application for production:

yarn build

Checkout the deployment documentation.