Skip to content

This is a basic general website project for initial practice of full stack development with all technologies from frontend to backend.

Notifications You must be signed in to change notification settings

ompratyushraj/WD_OEP_nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Examination Project

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.

Table of Contents

Tech Stack

  • 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

Project Setup

To run the project locally, follow the steps below:

1. Clone the Repository

git clone https://github.com/yourusername/Online-Examination-Project.git
cd Online-Examination-Project

2. Install Dependencies

npm install

3. Setup MongoDB Atlas

(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.

4. Start the Development Server

npm start

5. Open in Browser

Go to http://localhost:3000 to view the application.

Features

(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.

Dependencies

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

Project Components

1. Home Page

Landing page with basic navigation options.

image

2. About Panel

Page providing information about the project and instructions for use.

image

3. Admin Login Page

Admin login page to manage exams and view student results.

image

4. Student Login Page

Student login page to access exams.

image

5. Initiate the Exam

Page where the admin can initiate the exam.

image

6. Objective Question Panel Page

Students can answer objective-type questions.

image

7. Correct Answer Feedback (Green)

Visual feedback for correct answers (highlighted in green).

image

8. Incorrect Answer Feedback (Red)

Visual feedback for incorrect answers (highlighted in red).

image

9. All Questions Completed

Notification showing when all questions have been answered.

image

10. Result Page

The final results page showing the student's score and correct answers.

image"

Contributing

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:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature-name)
  3. Make your changes
  4. Commit your changes (git commit -m 'Add new feature')
  5. Push to the branch (git push origin feature/your-feature-name)
  6. Open a pull request

We will review your pull request and merge it if everything looks good.

Conclusion

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.

About

This is a basic general website project for initial practice of full stack development with all technologies from frontend to backend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published