This is an example Triplit project that uses Next.js and Next Auth
Create a new project in your Triplit Dashboard
Create a file named .env.local
and copy the variables from env.example
, filling in each with info from your project details found in the dashboard.
Ensure the "External JWT Secret" in the Triplit Dashboard matches what you set as NEXTAUTH_SECRET
in your .env
file.
yarn triplit migrate up --token=<secret-token-key>
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
- Navigate to your Triplit Console
- Paste in your project's Secret Key from the Dashboard
- Explore your data!
Join our Discord where our team and community can help you out!