Skip to content

Gitfunderqwa/mathai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Math Test Generator 🧮

This React application utilizes the ChatGPT API to generate math test questions in LaTeX format. It allows you to easily create custom math tests with varying difficulty levels and question types. The generated questions can be exported and used for educational purposes, assessments, or practice exams.

Features ✨ ⭐ Seamless integration with the ChatGPT API for generating math test questions. ⭐ Customizable question parameters such as difficulty level, question type, and number of questions. ⭐ Automatic generation of LaTeX formatted math questions. ⭐ Real-time preview of generated questions. ⭐ Export feature to save the generated questions in a convenient LaTeX file.

Getting Started 🚀 To get started with the React Math Test Generator, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/react-math-test-generator.git.
  2. Navigate to the project directory: cd react-math-test-generator.
  3. Install the dependencies: npm install.
  4. Obtain an API key from the ChatGPT API provider.
  5. Rename the .env.example file to .env and update the REACT_APP_API_KEY variable with your API key.
  6. Start the development server: npm start.

Usage 📝

  1. Open your browser and navigate to http://localhost:3000.
  2. Adjust the desired settings for difficulty level, question type, and the number of questions.
  3. Click the "Generate Test" button to trigger the generation of math test questions.
  4. The generated questions will be displayed in LaTeX format along with a real-time preview.
  5. To export the generated questions, click the "Export" button. The questions will be saved as a LaTeX file on your device.

Dependencies 📦 The React Math Test Generator relies on the following dependencies:

  • React: JavaScript library for building user interfaces.
  • Axios: Promise-based HTTP client for making API requests.
  • PropTypes: Runtime type checking for React props.
  • MathJax: JavaScript library for rendering LaTeX equations.

Please refer to the package.json file for the specific versions of these dependencies.

Contributing 🤝 Contributions to the React Math Test Generator are welcome. If you encounter any issues, have suggestions, or would like to contribute enhancements, please submit them to the project's repository.

When contributing, please ensure to follow the existing coding style and submit detailed pull requests.

License 📄 The React Math Test Generator is licensed under the MIT License. You can find more details in the LICENSE file.

Acknowledgements 🙏 This application utilizes the ChatGPT API provided by OpenAI. The LaTeX rendering is powered by MathJax.

Enjoy generating math test questions effortlessly with the React Math Test Generator! If you have any questions or need further assistance, feel free to reach out. Happy testing! 🎉

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published