This is an online examination project built using Node.js for the backend and MongoDB Atlas for storing data. The application includes features for both students and administrators. Students can take exams, view their results, and receive feedback based on their answers. Admins can manage exams and monitor student results.
- Frontend: HTML, CSS, JavaScript (handled by the Node.js backend)
- Backend: Node.js with Express.js
- Database: MongoDB Atlas
- Dependencies: Express, Body-parser, MongoDB, Mongoose, Nodemon
To run the project locally, follow the steps below:
git clone https://github.com/yourusername/Online-Examination-Project.git
cd Online-Examination-Project
npm install
(a). Create a MongoDB Atlas account and set up a new cluster. (b). Create a database and a collection for storing your exam data. (c). Obtain the connection string from the MongoDB Atlas dashboard and update your .env file with the connection URL.
npm start
Go to http://localhost:3000 to view the application.
(a). Admin Panel: Admins can log in, initiate exams, and view student results. (b). Student Panel: Students can log in, take the exam, and see their results. (c). Objective Questions: The exam contains multiple-choice questions. (d). Real-Time Feedback: Correct answers are shown in green, incorrect answers in red. (d). Results Page: After completing the exam, students can view their score and feedback.
express: Web framework for Node.js body-parser: Middleware to parse incoming request bodies mongodb: MongoDB driver for Node.js mongoose: MongoDB object modeling for Node.js nodemon: A utility that monitors for changes in the source code and automatically restarts the server
Landing page with basic navigation options.
Page providing information about the project and instructions for use.
Admin login page to manage exams and view student results.
Student login page to access exams.
Page where the admin can initiate the exam.
Students can answer objective-type questions.
Visual feedback for correct answers (highlighted in green).
Visual feedback for incorrect answers (highlighted in red).
Notification showing when all questions have been answered.
The final results page showing the student's score and correct answers.
We welcome contributions to the project! If you would like to help improve this project, please fork the repository and create a pull request. Here's how you can contribute:
- Fork the repository
- Create a new branch (git checkout -b feature/your-feature-name)
- Make your changes
- Commit your changes (git commit -m 'Add new feature')
- Push to the branch (git push origin feature/your-feature-name)
- Open a pull request
We will review your pull request and merge it if everything looks good.
The Online Examination Project provides a seamless platform for students to take exams and view results, while offering administrators tools to manage exams. Built with Node.js and MongoDB Atlas, it offers scalability and efficiency, making it a reliable solution for educational institutions looking to conduct online assessments.