This project is designed to simplify the process of adding exams for professors while providing students with a user-friendly interface to log in, take exams, and check their grades.
This project was collaboratively developed with my Friend Ayman Gassi
-
Frontend:
- ReactJS
- Axios for API communication
- CSS for styling
- Tailwind CSS for additional styling
-
Backend:
- Node.js
- Express.js
-
Database:
- MongoDB
- Clone this repository :
git clone https://github.com/mchzakaria/MernStack-School-Platform.git
- Open a new terminal in the
server
folder. - Run the command
npm i
to install the necessary dependencies. - Launch the server with either:
node app
- If you have installed nodemon, use
nodemon app
If you don't want to create your own data, you can use an existing database. All collections are in the Document/DataBase
folder.
- Open MongoDB Compass.
- Select the
SchoolWebsite
database. - Import all the JSON files in the
DataBase
folder.
- Open a new terminal in the
app
folder. - Run the command
npm i
to install the required packages. - Launch the app using
npm start
.
The Student choose the Field then the exam . After passing the exam he can see his grade in the Grade Page
The techer can create a exam for the Students by clicking on the Field
, inserting all the the informations about the exam .
After that , the teacher add the questions with their answers , he must click to the green button validate
to add the question to the exam.