This project is a live, weekly developer trivia application built with Vite, React, Tailwind CSS, TypeScript, and Convex.
Before you begin, ensure you have the following installed:
Follow these steps to set up and run the project locally:
-
Clone the repository:
git clone https://github.com/forrestknight/dev-trivia.git cd dev-trivia
-
Install dependencies:
npm install
-
Set up Convex:
- If you haven't already, create a Convex account at https://dashboard.convex.dev
- Run the following command and follow the prompts to create a Convex project:
npx convex dev
-
Set up Clerk (for authentication):
- Follow the Convex + Clerk documentation.
- Copy the Clerk publishable key and add it to your
.env.local
file:VITE_CLERK_PUBLISHABLE_KEY=your_publishable_key_here
-
Start the development server:
npm run dev
This command will start both the frontend and backend servers concurrently.
/src
: Contains the React frontend code/convex
: Contains the Convex backend code/public
: Contains public assets
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.