https://github.com/deepakdnayak/quiz-platform-backend
Backend written in javascript on Node.js and Express,js
https://github.com/deepakdnayak/quiz-platform-backend
backend bycrypt expressjs jwt-authentication mongoose nodejs nodemon shortid
Last synced: 3 months ago
JSON representation
Backend written in javascript on Node.js and Express,js
- Host: GitHub
- URL: https://github.com/deepakdnayak/quiz-platform-backend
- Owner: deepakdnayak
- Created: 2025-05-12T17:45:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-14T04:07:54.000Z (11 months ago)
- Last Synced: 2025-08-14T04:31:01.674Z (11 months ago)
- Topics: backend, bycrypt, expressjs, jwt-authentication, mongoose, nodejs, nodemon, shortid
- Language: JavaScript
- Homepage: https://quiz-platform-backend-eight.vercel.app
- Size: 131 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quiz Platform Backend
This is the backend for the **Quiz Platform**, built with **Node.js**, **Express**, and **MongoDB**. It handles authentication, quiz management, user progress tracking, and scoring.
## Features
- **User Authentication**: Secure login and registration for Admins, Instructors, and Students.
- **Role Management**: Different permissions for each user role.
- **Quiz Management**: Add, edit, and delete quizzes with multiple-choice questions.
- **Progress Tracking**: Stores and updates user quiz attempts and scores.
- **MongoDB Integration**: Stores all platform data securely.
## Tech Stack
- **Backend**: Node.js + Express
- **Database**: MongoDB
- **Authentication**: JWT (JSON Web Token)
- **Environment Variables**: Managed using `.env`
## Setup Instructions
1. Clone the repository:
```bash
git clone
```
2. Navigate to the project folder:
```bash
cd quiz-platform-backend
```
3. Install dependencies:
```bash
npm install
```
4. Create a `.env` file with the required variables:
```env
PORT=5000
MONGODB_URI=
JWT_SECRET=
```
5. Start the development server:
```bash
npm run dev
```
## Contribution
Feel free to submit issues and pull requests to improve the backend.