A assignment Repo for Backend Development @ Reelo
This is a Question Paper Generator application built with React for the frontend and Express for the backend. It allows users to store and generate question papers based on specified criteria.
- Store questions with attributes such as question, subject, topic, difficulty, and marks.
- Generate question papers based on specified criteria (total marks, difficulty distribution).
-
Clone the repository:
git clone https://github.com/your-username/question-paper-generator.git
-
Navigate to the project directory:
cd question-paper-generator
-
Install dependencies for both the frontend and backend:
npm install cd client npm install
1.Start the development environment:
```bash
npm run dev
This command will concurrently start the Express server and the React app.
2.Access the application in your web browser:
Frontend (React): http://localhost:3000
Backend (Express): http://localhost:3001
Use the application to add questions and generate question papers.
3.API Endpoints :
GET /questions : Retrieve all stored questions.
POST /add_question : Add a new question to the store.
POST /generate_paper : Generate a question paper based on specified criteria.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.