An open API service indexing awesome lists of open source software.

https://github.com/evavic44/quiznote

An AI-powered quiz generator for creating quizes from your notes and textbooks | Powered by Google Gemini
https://github.com/evavic44/quiznote

gemini gemini-api hackathon quiz quizgenerator

Last synced: about 1 month ago
JSON representation

An AI-powered quiz generator for creating quizes from your notes and textbooks | Powered by Google Gemini

Awesome Lists containing this project

README

        




Quiznote


The ultimate learner's companior for transforming notes into interactive quizzes to help maximize learning retention

cover image

## Demo Video

[Quiznote Demo Video](https://youtu.be/ek5dUA8Db_w?si=V_9dNpyM2xk0CW5a)

## Technologies

- 🎯 [NextJS](https://nextjs.org) - UI framework
- ☑️ [Vercel](https://vercel.com) - Hosting and deployment
- 💅🏽 [TailwindCSS](https://tailwindcss.com) /CSS - Styling and UI
- 🤖 [Gemini](https://gemini.google.com) / AI API

## Run Project Locally

Follow the steps below to run quiznote locally on your machine

> [!note]
> For the Google AI Hackathon judges, please ignore the steps below and insert the `GOOGLE_SERVICE_KEY` sent via the test email into a `.env.local` file to start the program.

- `git clone https://github.com/Evavic44/quiznote`

- Rename `.env.example` to `.env.local`
- Get your private keys from [google cloud IAM & Admin](https://cloud.google.com)
- Create a project that has access to all Vertext AI resource
- Export the service account key to `JSON`
- convert the `JSON` content to `base64`
- Set the value of `GOOGLE_SERVICE_KEY` to the Base64 JSON

```bash

cd quiznote

npm install

npm run dev
```

Open [http://localhost:3000](http://localhost:3000) in your browser to see the result.

### Important files and folders

| File(s) | Description |
| --------------------------------------------- | --------------------------------------------- |
| [`route.ts`](./src/app/api/generate/route.ts) | Integration file for setting up Gemini prompt |
| [`page.tsx`](./src/app/page.tsx) | Homepage route |
| [`components`](./src/components/) | Where components are stored |
| [`store`](./src/store/) | State management store |




Built for the Google AI Hackathon


Powered by