feat: Virtual Science Lab — full-stack educational platform#1
Draft
Copilot wants to merge 4 commits into
Draft
Conversation
- Bootstrap Express server with JWT auth, MongoDB models, and REST API - Create React frontend with Vite, Tailwind CSS v4, React Three Fiber - Implement 3D electric circuit simulation (battery, bulb, switch, wires) - Student dashboard: experiment cards by level, progress tracking - Teacher dashboard: student management with wilaya/school/level filters - Quiz system: post-experiment MCQ with score persistence - Role-based routing: student vs teacher with JWT protection - Seed data: 6 experiments across primary/middle/high levels - Documentation: platform overview and prompt engineering guide Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Apply strict rate limiting (20 req/15min) on auth endpoints and generous limits (200 req/15min) on general API routes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: MouhBbt <132295727+MouhBbt@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add authentication system for students and teachers
feat: Virtual Science Lab — full-stack educational platform
Mar 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements a complete web platform for virtual science experiments, with role-based access for students and teachers, a 3D interactive lab, and progress tracking.
Backend (
server/)User,Student,Experiment,Result/auth(register/login),/students,/experiments,/results,/teacherexpress-rate-limiton all routes (20 req/15min auth, 200 req/15min API)POST /experiments/seed) restricted to authenticated teachersFrontend (
client/)pointLightwhen circuit is closedCircuit logic (simplified)
Docs
docs/PLATFORM_OVERVIEW.md: architecture, API reference, data models, getting-started guidedocs/PROMPT_ENGINEERING.md: 8 AI prompt templates for extending the platformOriginal prompt
Created from VS Code.
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.