Demo of using Nuxt 3 with GitHub authentication and creating issues with real-time updates.
See it live on https://discuss.atinux.com
Make sure to install the dependencies
yarn install
And copy the .env.example
to .env
cp .env.example .env
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 .
Start the development server on http://localhost:3000
yarn dev
Build the application for production:
yarn build
Checkout the deployment documentation.