Skip to content

nikhil-mca-code/class-orbit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Class Orbit

Full-Stack Education Platform

Live Demo GitHub


πŸš€ Overview

Class Orbit is a modern full-stack education platform designed to streamline interactions between students, teachers, and administrators.

The platform provides secure authentication, role-based dashboards, payment processing, email automation, and administrative workflows through a scalable REST API architecture.


πŸ›  Tech Stack

Frontend

HTML5 CSS3 JavaScript

Backend

Node.js Express.js

Database

MongoDB Mongoose

Authentication & Security

JWT bcrypt

API Integrations

Razorpay Brevo REST API

Deployment

Render Netlify


✨ Key Features

πŸ” Authentication & Security

  • JWT Authentication
  • Role-Based Access Control
  • Password Reset Workflow
  • Protected Admin Routes
  • Helmet Security Middleware
  • API Rate Limiting
  • Environment-Based Configuration

πŸ‘¨β€πŸŽ“ Student Portal

  • Student Registration & Login
  • Personalized Dashboard
  • Profile Management
  • Demo Booking
  • Course Enrollment Workflow

πŸ‘©β€πŸ« Teacher Portal

  • Teacher Registration
  • Teacher Dashboard
  • Subject Application Workflow
  • Approval & Verification Process

πŸ‘¨β€πŸ’Ό Admin Portal

  • Secure Admin Dashboard
  • Student Management
  • Teacher Management
  • Payment Management
  • Demo Request Management
  • Platform Statistics

πŸ’³ Payment System

  • Razorpay Integration
  • Secure Order Creation
  • Server-Side Payment Verification
  • Payment Validation Workflow

πŸ“§ Communication System

  • Brevo Email API Integration
  • Newsletter Subscription
  • Contact Form
  • Automated Notifications
  • Password Reset Emails

πŸ— Architecture

Client (Frontend)
        β”‚
        β–Ό
Express REST API
        β”‚
        β–Ό
Authentication Layer
        β”‚
        β–Ό
MongoDB Database
        β”‚
 β”Œβ”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”
 β–Ό             β–Ό
Razorpay     Brevo
Payments     Email API
        β”‚
        β–Ό
Admin Dashboard

πŸ“Š Project Highlights

βœ… Full-Stack Architecture

βœ… REST API Design

βœ… JWT Authentication

βœ… Razorpay Integration

βœ… Brevo Email API Integration

βœ… MongoDB Database Design

βœ… Role-Based Access Control

βœ… Production Deployment


πŸ“‚ Project Structure

class-orbit/
β”‚
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ config/
β”‚   β”œβ”€β”€ controllers/
β”‚   β”œβ”€β”€ middleware/
β”‚   β”œβ”€β”€ models/
β”‚   β”œβ”€β”€ routes/
β”‚   β”œβ”€β”€ payment/
β”‚   β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ server.js
β”‚   └── package.json
β”‚
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ css/
β”‚   β”œβ”€β”€ js/
β”‚   β”œβ”€β”€ images/
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ login.html
β”‚   β”œβ”€β”€ register.html
β”‚   β”œβ”€β”€ student-dashboard.html
β”‚   β”œβ”€β”€ teacher-dashboard.html
β”‚   └── admin.html
β”‚
β”œβ”€β”€ README.md
β”œβ”€β”€ SETUP.md
└── .env.example

βš™οΈ Installation

Clone the Repository

git clone https://github.com/nikhil-mca-code/class-orbit.git

Navigate to the Project

cd class-orbit

Install Backend Dependencies

cd backend
npm install

Configure Environment Variables

cp .env.example .env

Start Development Server

npm run dev

Run Frontend

Open the frontend using:

  • Live Server Extension
  • Local Development Server
  • Netlify Deployment

πŸ”‘ Environment Variables

Create a .env file in the backend directory.

PORT=

MONGO_URI=

JWT_SECRET=

BREVO_API_KEY=

RAZORPAY_KEY_ID=
RAZORPAY_KEY_SECRET=

FRONTEND_URL=

CORS_ORIGINS=

πŸ”Œ API Overview

Authentication

POST /api/auth/register
POST /api/auth/login
POST /api/auth/forgot-password
POST /api/auth/change-password

Student

POST /api/student/register
GET /api/student/profile

Teacher

POST /api/teacher/register
GET /api/teacher/profile

Demo Booking

POST /api/demo/book

Contact

POST /api/contact/send

Newsletter

POST /api/newsletter/subscribe

Payments

POST /api/payment/create-order
POST /api/payment/verify

Admin

GET /api/admin/students
GET /api/admin/teachers
GET /api/admin/payments
GET /api/admin/statistics

πŸ”’ Security Measures

Authentication

  • JWT Authentication
  • Secure Token Validation
  • Password Hashing with bcrypt

Authorization

  • Role-Based Access Control
  • Protected Admin Routes
  • Protected Teacher Routes

Infrastructure Security

  • Helmet Security Headers
  • API Rate Limiting
  • Environment Variable Protection
  • Input Validation

Payment Security

  • Razorpay Signature Verification
  • Server-Side Payment Validation

πŸš€ Future Roadmap

Academic Features

  • Course Management Module
  • Assignment Submission System
  • Attendance Tracking
  • Student Progress Reports

Communication Features

  • Real-Time Notifications
  • Chat System
  • Discussion Forums

Platform Features

  • Analytics Dashboard
  • Admin Insights
  • Advanced Search
  • Role Permissions Management

Mobile Experience

  • Progressive Web App (PWA)
  • Android Application
  • Mobile-Optimized Dashboard

πŸ“Έ Platform Screenshots

Home Page

Student Dashboard

Login Dashboard

Admin Dashboard

Team Section

About Section


🌟 Why This Project Matters

Class Orbit demonstrates practical experience with:

  • Full-Stack Development
  • REST API Design
  • Authentication Systems
  • Payment Gateway Integration
  • Email Automation
  • Database Modeling
  • Security Best Practices
  • Production Deployment

This project was built to solve real educational workflow challenges while strengthening software engineering and backend development skills.


πŸ‘¨β€πŸ’» Author

Nikhil Singh

Software Development Intern β€’ Full-Stack Developer β€’ Founder @ Gorakhpur Web Studio


πŸ“œ License

This project is intended for educational, learning, and portfolio purposes.


⭐ If you found this project useful, consider giving it a star.

πŸš€ Contributions, suggestions, and feedback are welcome.


πŸ“œ License

This project is intended for educational, learning, and portfolio purposes.


⭐ If you found this project interesting, consider giving it a star!

About

Full-Stack Education Platform with JWT Authentication, Razorpay Integration, Brevo Email API, and RESTful Backend Architecture.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors