This project is a simple example of online learning webiste using Express framework with JavaScript and MongoDB database.
This project is still under development and not ready for production.
it has an issue with login for multiple users, I'm working on it,also some parts of the project are not finished yet.
Express framework with JavaScript and MongoDB database.
along with the backend, I'm working on the frontend using React and Redux.
- User Authentication
- simple CRUD operations
- User profile
- Instructor profile
- Instructor set exams
- Trainee solve exams
- Trainee view results
- new guest signup
- vew all regulations and rules to website
npm install
backend
npm run client
frontend
npm start
/login
Parameter | Type | Description |
---|---|---|
UserName | string |
Required username of use |
Password | string |
Required password of user |
/signup
Parameter | Type | Description |
---|---|---|
UserName | string |
Required username of use |
Password | string |
Required password of user |
string |
Required email of user | |
Firstname | string |
Required firstname of user |
Lastname | string |
Required lastname of user |
Gender | string |
Required Gender of user |
Country | string |
Required Country of user |
Role | string |
Required Role of user |
/instructor/addExam
Parameter | Type | Description |
---|---|---|
Code | string |
Required Code of Exam Entered |
Question | string |
Required Question of Exam Entered |
Choices | string |
Required Choices of Exam Entered |
Answer | string |
Required Answer of Exam Entered |
UserName | string |
Required UserName of Instructor |
/individualtrainee/viewaExam
Parameter | Type | Description |
---|---|---|
Code | string |
Required Code of Exam Entered and check if exam is solved before by trainee |
TraineeUserName | string |
Required TraineeUserName of Traine |