abdallahalkashawy / Pedri

This repository contains the source code for Pedri, an online learning platform built on the MERN stack (MongoDB, Express.js, React, Node.js). The platform enables examiners to create and manage multiple-choice exams and allows students to solve them. It features a skill-based exam database design, ensuring efficient and scalable performance. Pedri

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pedri

Motivation

This project is a simple example of online learning webiste using Express framework with JavaScript and MongoDB database.

Build Status

Build Status
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.

Tech/framework used

Express framework with JavaScript and MongoDB database.
along with the backend, I'm working on the frontend using React and Redux.

Code Styles

StandardJS

Features

  • 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

Installation

   npm install

backend

   npm run client

frontend

   npm start

Screenshots

  • login Login

  • signup Signup

  • Instructor profile Instructor profile

  • Instructor set exams Instructor set exams

  • Trainee solve exams Trainee solve exams

  • Trainee view results Trainee view results

    API Reference

  /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
Email 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

About

This repository contains the source code for Pedri, an online learning platform built on the MERN stack (MongoDB, Express.js, React, Node.js). The platform enables examiners to create and manage multiple-choice exams and allows students to solve them. It features a skill-based exam database design, ensuring efficient and scalable performance. Pedri


Languages

Language:JavaScript 90.6%Language:CSS 7.8%Language:HTML 1.1%Language:Shell 0.5%