Quiz for Anything is pretty much what it sounds like it is. You can take a 10 question quiz on any topic that you want, literally any topic.
After deployement you'll get the link to interact with the project here
- Ability to take quiz on any topic
- Ability to check your scores
- More features on the way...
- API Integration and Developement: The server of Quiz for anything directly communicates with the frontend using endpioints made using Flask
- AI Integration: Integrated OPEN AI API to fetch questions data in a parsed json format
- JavaScript: The core programming language used to build the application.
- Python [Flask Framework] : Used for making the backend and the API endpoints
To run Quiz For Anything locally, follow these steps:
-
Clone the repository:
git clone https://github.com/labhansh2/Quiz-Pop.git
-
Navigate to frontend Directory:
cd frontend
-
Install the node modules after entering the root directory of the repo
npm i
-
run on local port
npm run dev
-
Add your Open AI API key in the .env.template file and rename it to .env which you can fine here.
-
Navigate to server/src Directory:
cd server/src
-
Run the Server File:
python server1.py
There you go, now you are running both frontend and the server on your local machine and you should be able to tinker with the project
- Add a database for questions for question reusibility
- Add Authentication to save user's metadata to save their progress, already solved questions, etc.
- Upgrade the UI and UX
- Deploy
Contributions to this project are welcome! If you encounter any issues or have ideas for improvements, please open an issue on the GitHub repository or submit a pull request. You can also refer #ToDo for ideas to contribute.