For the database creation, I had two options regarding the Rick and Morty characters:
- Prefetch all characters and seed the database initially.
- Fetch and store them in the database on demand (lazy loading).
I chose the second option because it presented a greater challenge and allowed me to extensively test different Convex functions and capabilities.
To run this project locally:
-
Install dependencies:
npm install
-
Run the development server (frontend and backend):
npm run dev
This will start the Next.js frontend and the Convex backend.

