Source code for the Next.js crash course project that uses Tailwind CSS, SWR, React Hook Form, and FaunaDB!
-
Copy the
.env.local.example
file to.env.local
and fill in yourFAUNA_SECRET
. -
Create a collection in Fauna called
snippets
. -
Run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.