A Online Exam portal website with backend in Nodejs and frontend in React js
Web Application for online MCQ test usecase
Frontend
Backend
Database
- Student User
- View Tests Details
- Register for test
- Give Test
- Check Result and correct answer and explanation for questions
- Teacher User
- Create, Update Questions and Question Banks
- Create, View Test
- Admin User
- Create and Manage Teacher users
- Create and Manage subjects
To run this project, you will need to add the following variables to your backend/config.json file
mongodb.connectionString
jwt.secret
This project uses MongoDB as database. please install mongodb server in local environment.
Clone the project
git clone https://github.com/chintan-golakiya/online-exam-portal.gitGo to the project directory
cd project-directoryInstall dependencies
cd backend
npm install
cd ../frontend
npm install
cd ../user-portal-frontend
npm installStart the backend server
cd backend
npm startStart the frontend client for admin
cd frontend
npm startStart the frontend client for teacher/student
cd user-portal-frontend
npm startNote : admin user is created when backend runs first time. default admin (username, password) details are ("sysadmin","systemadmin"). addAdminIfNotFound() function of backend/services/admin.js file is for this logic. You can check/modify default admin details from this function.
build docker images
docker-compose buildRun container and services
docker-compose upUse following paths
Backend server : localhost:5000/
Admin Frontend : localhost:3100/
User Frontend : localhost:3200/- add more features
Contributions are always welcome!
See contributing.md for ways to get started.
Distributed under the no License.
Chintan Golakiya - @chint4n - [email protected]
Project Link: https://github.com/chintan-golakiya/online-exam-portal
Following libraries have been used in this projects.