Kiranism / next-shadcn-dashboard-starter

Admin Dashboard Starter with Nextjs14 and shadcn ui
https://next-shadcn-dashboard-starter.vercel.app
MIT License
1.43k stars 302 forks source link

I dont know what is happening #12

Closed Manoj-kumar-C closed 4 months ago

Manoj-kumar-C commented 4 months ago

image

Can anyone explain plz

Kiranism commented 4 months ago

@Manoj-kumar-C Hey, please provide the server logs. Also, make sure to add all the necessary environment variables.

Manoj-kumar-C commented 4 months ago

Can you explain how to add the ENV . DO I need to give manually as a ENV variable in the vercel

image

Manoj-kumar-C commented 4 months ago

My Github Repo: https://github.com/Manoj-kumar-C/next-shadcn-dashboard

Manoj-kumar-C commented 4 months ago

UPLOADTHING_SECRET= UPLOADTHING_APP_ID=

NEXTAUTH_URL = http://localhost:3000 NEXTAUTH_SECRET=

can you explain what will be the values do I need to give

Kiranism commented 4 months ago

@Manoj-kumar-C Follow this! Add the values and copy paste whole file into vercel env input.

Add Uploadthing secret and appId to setup fileupload https://uploadthing.com/

UPLOADTHING_SECRET= UPLOADTHING_APP_ID=

Next auth https://next-auth.js.org/configuration/options

Run this command to generate a a new NEXTAUTH_SECRET

$ openssl rand -base64 32

NEXTAUTH_URL = http://localhost:3000 NEXTAUTH_SECRET=

Go to github and setup the oauth configuration

https://next-auth.js.org/providers/github#configuration

https://github.com/settings/developers

GITHUB_ID = GITHUB_SECRET =

Manoj-kumar-C commented 4 months ago

NEXTAUTH_URL = http://localhost:3000

What will be the NEXTAUTH_URL Value -- I have set the remaining values.

Kiranism commented 4 months ago

NEXTAUTH_URL = http://localhost:3000

What will be the NEXTAUTH_URL Value -- I have set the remaining values.

deployed url.

Manoj-kumar-C commented 4 months ago

ok 👍👍. Done SuccesfullY . Thank You

Manoj-kumar-C commented 4 months ago

image 🔥🔥

Kiranism commented 4 months ago

@Manoj-kumar-C Good Job 🥂