A web application that generates exams for students and save their grades
This is a Nodejs Project connected with a sql server database. It is made for sql server course as a project.
During the pandamic every university or educational place had and still has to have an online examination system for their students to make their exams in it.
- Every student has an exam have to open the system and start his/her exam and the grade is calculated after the exam ends so the student can know the grade through his/her account in this course or subject.
- Every instructor can discover his/her student's grade in his/her courses
- If you are student you will go to your pages as a student and if you are instructor you will go to your own pages in the system
This application built with node js and uses sql server database to run.
How to set the project locally?
-
Nodejs
npm install npm@latest -g
-
Sql Server
- Clone the repository
git clone [email protected]:RandaHadad/Database-Project
- Restore the database backup to your local machine and set a user for the database as a database owner to configure with the web application
- Go to Nodejs Folder in the application
cd Nodejs
- Install NPM packages
npm install
- Go to
dbConfig
js file to write your sql server database configurations
const config = {
server: 'localhost',
authentication: {
type: 'default',
options: {
userName: 'ExaminationUser', // update me
password: 'pass' // update me
}
},
options: {
database: 'Exam_System', // update me
validateBulkLoadParameters: false,
encrypt: false,
}
};
- Write this command to run the project
npm start
- Go to your browser and write localhost:8080 to run the project
Thanks for you all