Pull the .env
file
npx dotenv-vault@latest pull
or create a .env file
# We use Sendbird, MongoDB and Uploadthing as third-party APIs
# The client side env variables need have `NEXT_PUBLIC_` prefix
NEXT_PUBLIC_SENDBIRD_APP_ID={INFO}
API_TOKEN={INFO}
MONGODB_URI={INFO}
JWT_SECRET={INFO}
JWT_EXPIRES_IN={INFO}
UPLOADTHING_SECRET={INFO}
UPLOADTHING_APP_ID={INFO}
pnpm install
pnpm dev
Open localhost:3000 to see the results.
Check out UML here
If you want to help refine the UML, check Get Start doc