This is a simple quiz application built using Node.js and Express.js. It tests users' knowledge on Node.js concepts.
- Node.js
- Git
-
Clone the repository:
git clone https://github.com/Enigma-52/Node.js-Quiz-Application
-
Navigate to the project directory:
cd Node.js-Quiz-Application
-
Install dependencies:
npm install
-
Start the server:
npm start
-
Open your web browser and visit http://localhost:3000 to access the application.
- The quiz questions are served at
/api/questions
. - Users can submit their answers to the quiz at
/api/submit
.
public
: Contains static files (HTML, CSS and Javascript) for the frontend.quiz.json
: JSON file containing quiz questions.app.js
: Node.js application file containing server setup and endpoints.