Want to learn how to use Fauna with NextJS? This crash course covers:
- Creating a Database.
- Reading on the data from the database.
- Creating a form and updating our database.
Complete example here:https://github.com/perkinsjr/fauna-with-next
- 00:00 - Intro
- 00:38 - What is Fauna and the history
- 03:30 - Creating our first Database
- 04:50 - Our NextJS app and installing Fauna client
- 06:30 - Creating our secret for Fauna
- 07:40 - Creating our first serverless function
- 12:19 - Adding the state, useEffect to our application
- 15:25 - Testing our serverless function.
- 16:05 - Adding Chakra-UI
- 17:35 - Creating our heading
- 20:44 - Creating a CustomerData Component
- 24:05 - Using our CustomerData Component
- 26:48 - Testing our data is shown.
- 27:40 - Creating our AddCustomer serverless function
- 33:22 - Creating our New Customer Form.
- 35:47 - Using Object Freeze to create initial form data.
- 36:40 - Adding more state handling.
- 46:26 - Creating our addCustomer function.
- 48:10 - Final testing
- 48:50 - Outro
#nextjs #fauna #next