The React Quiz App is a straightforward, interactive application crafted to evaluate your knowledge across various topics through quizzes. It leverages React for the frontend and utilizes JSON Server to simulate a backend environment, serving quiz questions and answers.
- Interactive Quiz Interface: Engage with dynamic quizzes that offer instant feedback.
- Dynamic Question Flow: Questions and answers are fetched from a local JSON Server, emulating a genuine backend experience.
Follow these steps to run the React Quiz App on your local machine.
Make sure you have Node.js installed on your system.
-
Start JSON Server:
npm start server
This command initializes the JSON server to fetch questions.
-
Install Dependencies and Start the App:
npm install npm start
These commands install necessary modules and launch the app in development mode. Open http://localhost:3000 in your browser to view it.
To run tests, use:
npm test