{"id":15105320,"url":"https://github.com/aykhan019/notionquizbot","last_synced_at":"2026-02-04T00:01:53.758Z","repository":{"id":256613026,"uuid":"854266431","full_name":"aykhan019/NotionQuizBot","owner":"aykhan019","description":"A full-stack web application that generates quizzes from Notion data using AI. It features a React front-end for interactive quiz display and a Flask back-end for fetching data and generating questions.","archived":false,"fork":false,"pushed_at":"2024-09-15T11:54:06.000Z","size":19277,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T12:42:54.435Z","etag":null,"topics":["ai","flask","javascript","notion","practise","python","quiz","react"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=T5DJ435Chzg","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aykhan019.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-08T20:09:20.000Z","updated_at":"2024-09-15T12:06:54.000Z","dependencies_parsed_at":"2024-09-15T13:18:49.279Z","dependency_job_id":null,"html_url":"https://github.com/aykhan019/NotionQuizBot","commit_stats":null,"previous_names":["aykhan019/notionquizbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aykhan019/NotionQuizBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykhan019%2FNotionQuizBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykhan019%2FNotionQuizBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykhan019%2FNotionQuizBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykhan019%2FNotionQuizBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aykhan019","download_url":"https://codeload.github.com/aykhan019/NotionQuizBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aykhan019%2FNotionQuizBot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262914065,"owners_count":23383818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","flask","javascript","notion","practise","python","quiz","react"],"created_at":"2024-09-25T20:23:25.215Z","updated_at":"2026-02-04T00:01:53.750Z","avatar_url":"https://github.com/aykhan019.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quiz Bot Web Application\n\nThis repository contains a web application that generates quizzes from Notion data using AI.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Folder Structure](#folder-structure)\n- [Installation](#installation)\n- [Running the Application](#running-the-application)\n- [Features](#features)\n- [Running the Application](#running-the-application)\n- [Demo Video](#demo-video)\n- [License](#license)\n\n## Introduction\n\nThe Quiz Bot Web Application is a full-stack project consisting of a React front-end and a Flask back-end. The back-end fetches data from Notion, uses AI to generate quiz questions, and the front-end displays these questions to the user in an interactive quiz format.\n\n## Folder Structure\n\n- `client/`: React front-end application.\n- `flask_server/`: Flask back-end API.\n\n## Installation\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/) (for the React app)\n- [Python 3.9+](https://www.python.org/downloads/) (for the Flask API)\n- [Git](https://git-scm.com/)\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/your-username/your-repo-name.git\ncd your-repo-name\n```\n\n### Client Setup (React App)\n\nNavigate to the client folder and install dependencies:\n\n```bash\ncd client\nnpm install\n```\n\n### Server Setup (Flask API)\n\nNavigate to the flask_server folder. First, create a virtual environment and activate it:\n\n```bash\ncd ../flask_server\npython -m venv venv\nsource venv/bin/activate  # On Windows use: venv\\Scripts\\activate\n```\n\n## Configuration\n\n### Notion Integration\n\nTo use the Notion integration, you need to insert your Notion integration token and top page IDs in the React component.\n\n1. Open `client/src/components/Quizzes/Quizzes.js`.\n2. Find the following section in the code:\n\n    ```javascript\n    body: JSON.stringify({\n      notion_token: '',  // Insert your Notion integration token here\n      top_page_ids: [    // Insert your Notion top page IDs here\n        'aaa8bb9510a14793aabd1c98d8fe8279',\n        'eb7b5acc92864c34a52bf602f52be333',\n        '9a36fbf06f3c4019bc6bb3de86f1554a'\n      ],\n      number_of_questions: 10\n    })\n    ```\n\n3. Replace the empty string `''` in `notion_token` with your actual Notion integration token.\n4. Update the `top_page_ids` array with the IDs of the Notion pages you want to use for quiz generation.\n\n### Running the Application\n\n### Flask Back-end\n\nTo start the Flask API:\n\n```bash\ncd flask_server\nsource venv/bin/activate  # On Windows use: venv\\Scripts\\activate\npython server.py\n```\n\n### React Front-end\n\nTo start the React development server:\n\n```bash\ncd client\nnpm start\n```\n\n### Running Both Front-end and Back-end\n\n1. Start the Flask server first.\n2. Start the React front-end.\n\n## Features\n\n- Generates quizzes based on data from Notion using AI.\n- Interactive UI for answering quiz questions.\n- Score tracking with detailed result display.\n\n## Demo Video\n\nCheck out the following video to see the Quiz Bot Web Application in action:\n\n\u003ca href=\"https://www.youtube.com/watch?v=T5DJ435Chzg\"\u003e\n  \u003cimg src=\"https://media.aykhan.net/thumbnails/projects/notion-quiz-bot.jpg\" alt=\"Watch Demo Video\" width=\"100%\"/\u003e\n\u003c/a\u003e\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faykhan019%2Fnotionquizbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faykhan019%2Fnotionquizbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faykhan019%2Fnotionquizbot/lists"}