Complete documentation reference for developers, designers, and project managers
| Document | Purpose | Best For |
|---|---|---|
| README.md | Project overview & quick start | Getting started quickly |
| WEBSITE_GUIDE.md | Comprehensive platform guide | Understanding full system |
| BACKEND_SETUP.md | Backend API & server configuration | Backend developers |
| FRONTEND_ARCHITECTURE.md | Frontend structure & components | Frontend developers |
| PDF-Hub-Frontend/README.md | PDF library documentation | PDF feature developers |
Read First: WEBSITE_GUIDE.md - Architecture Section
Then Read:
- SYSTEM_COMPLETE_SUMMARY.md - Complete system overview
- ARCHITECTURE_VERIFICATION_REPORT.md - Architecture verification details
- DATABASE_DESIGN_GUIDE.md - Database schema & relationships
User Input (Frontend)
β
API Request (HTTP/REST)
β
Express Server (Backend)
β
Database Query (MySQL/MongoDB)
β
Data Processing
β
Response (JSON)
β
Frontend Rendering
β
User Display
Main Landing Pages:
- Homepage.html - Central hub
- Dashboard Pages - Analytics & progress
- Video Player - Learning interface
Feature Modules:
- PDF Library - Document management
- Learning Roadmap - Learning paths
- 3D Lab - Interactive 3D models
- AI Assistant - Chatbot interface
- Audiobooks - Audio content
- Blogs - Blog reader
- HTML5 - Semantic markup
- Vanilla JavaScript - ES6+ no frameworks
- Tailwind CSS - Utility-first styling
- Dark Mode - Theme switching
- Responsive Design - Mobile-first
Video Module:
GET /api/videos # List all videos
GET /api/videos/:id # Video details
GET /api/videos/:id/stream # Stream video (range request)
POST /api/videos # Upload (admin)
DELETE /api/videos/:id # Delete (admin)
Progress Tracking:
GET /api/progress/:userId # User progress
POST /api/progress # Log interaction
Dashboard:
GET /api/dashboard # User dashboard
GET /api/dashboard/stats # User statistics
PDF Library:
GET /api/pdfs # List PDFs
GET /api/pdfs/:id/stream # Stream PDF
POST /api/pdfs # Upload
See: WEBSITE_GUIDE.md - Backend API Section
Main Database: MySQL
Schema Files:
- DataBase/schema.sql - Core schema
- DataBase/schema-enhanced.sql - Enhanced schema
- DataBase/schema-mongo.js - MongoDB schema
Sample Data:
- DataBase/seed_videos.sql - Video samples
- DataBase/dashboard_demo_seed.sql - Dashboard data
| Table | Purpose | Records |
|---|---|---|
users |
User accounts | N/A |
videos |
Video metadata | 20+ samples |
progress |
User progress | Auto-generated |
user_profiles |
User data | Auto-created |
pdfs |
PDF documents | On-demand |
quizzes |
Quiz questions | 50+ samples |
blogs |
Blog posts | 15+ samples |
3d_models |
3D models | 10+ samples |
- Video PlayerGuide: QUICK_START_VIDEO_UPLOAD.md
- Streaming: VIDEO_UPLOAD_GUIDE.md
- MongoDB Setup: MONGODB_VIDEO_STREAMING_SETUP.md
- PDF Library: PDF-Hub-Frontend/README.md
- File Upload: See Backend/routes/pdfs.js
- Live Tracking: QUICK_START_LIVE_TRACKING.md
- Live Dashboard: LIVE_TRACKING_SETUP.md
Files:
- Dockerfile - Container image
- docker-compose.yml - Service orchestration
- docker/start-all.sh - Startup script
Commands:
# Build and run
docker-compose up -d
# View logs
docker-compose logs -f
# Stop services
docker-compose downSee: WEBSITE_GUIDE.md - Quick Start Section
Steps:
- Clone repository
- Install Node dependencies
- Create .env file
- Setup MySQL database
- Run Backend/setup-db.js
- Start npm start
File: .env (create from .env.example)
Key Variables:
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=***
DB_NAME=acadly_db
JWT_SECRET=***
PORT=3000
See: WEBSITE_GUIDE.md - Environment Variables
See: SECURITY.md
- Authentication best practices
- Data protection
- Password hashing
- API security
- CORS configuration
Reports:
- VERIFICATION_CHECKLIST.md - System verification
- PATH_FIXES_SUMMARY.md - Path fixes log
See: QUICK_REFERENCE.md
- Common commands
- File locations
- Troubleshooting tips
- Quick fixes
| File | Contains |
|---|---|
| CODE_OF_CONDUCT.md | Community guidelines |
| contributing.md | Contribution process |
| LICENSE | MIT License |
| File | Topic |
|---|---|
| TECHNICAL_SUMMARY.md | Technical overview |
| VISUAL_REFERENCE.md | UI/UX reference |
| WEBSITE_GUIDE.md | Complete platform guide |
| File | Purpose |
|---|---|
| MONGODB_SETUP.md | MongoDB installation |
| QUICK_START_LIVE_TRACKING.md | Live tracking setup |
| QUICK_START_VIDEO_UPLOAD.md | Video upload configuration |
For Frontend Developers:
- Read: FRONTEND_ARCHITECTURE.md
- Code: Frontend/ files
- Reference: VISUAL_REFERENCE.md
For Backend Developers:
- Read: Backend/README.md
- Code: Backend/routes/ files
- Reference: DATABASE_DESIGN_GUIDE.md
For Full-Stack Setup:
- Read: README.md
- Follow: WEBSITE_GUIDE.md - Quick Start
- Verify: VERIFICATION_CHECKLIST.md
For DevOps/Deployment:
- Read: Dockerfile
- Use: docker-compose.yml
- See: WEBSITE_GUIDE.md - Deployment
For Database Work:
- Study: DATABASE_DESIGN_GUIDE.md
- Use: DataBase/schema.sql
- Reference: WEBSITE_GUIDE.md - Database
...add a new video module
...create a new frontend page
- See: FRONTEND_ARCHITECTURE.md
- Example: Follow Frontend/Homepage.html structure
...modify the database
- See: DATABASE_DESIGN_GUIDE.md
- Edit: DataBase/schema.sql
- Run:
node Backend/setup-db.js
...deploy to production
- See: WEBSITE_GUIDE.md - Deployment
- Use: Docker Compose or Cloud Platform
...troubleshoot an issue
- See: QUICK_REFERENCE.md for common fixes
- Check: VERIFICATION_CHECKLIST.md
- Review: Logs in
Backend/logs/folder
START HERE
β
[README.md] β Quick overview
β
CHOOSE YOUR PATH
ββ Frontend Dev? β [FRONTEND_ARCHITECTURE.md]
ββ Backend Dev? β [Backend/README.md]
ββ DevOps? β [Dockerfile, docker-compose.yml]
ββ Full Setup? β [WEBSITE_GUIDE.md]
β
[DATABASE_DESIGN_GUIDE.md] β Understand data
β
[VERIFICATION_CHECKLIST.md] β Test everything
β
[WEBSITE_GUIDE.md] β Reference guide
β
CODE & BUILD β
Level 1 (Quick Start):
- README.md (2-3 min read)
- QUICK_REFERENCE.md (reference)
Level 2 (Understanding):
- WEBSITE_GUIDE.md (comprehensive)
- FRONTEND_ARCHITECTURE.md (frontend deep-dive)
- Backend/README.md (backend deep-dive)
Level 3 (Implementation):
- Individual feature docs (VIDEO_UPLOAD_GUIDE.md, etc.)
- Source code files with inline comments
- Database schema documentation
- π§ Email: support@acadly.com
- π¬ Discord: [Join Community]
- π Issues: GitHub Issues
- π Wiki: [Project Wiki]
Week 1: Fundamentals
- Read README.md
- Read WEBSITE_GUIDE.md
- Run local setup (follow QUICK_START)
- Explore codebase
Week 2: Your Specialization
- Frontend: Study FRONTEND_ARCHITECTURE.md + Frontend files
- Backend: Study Backend/README.md + API routes
- DevOps: Study docker files + deployment guide
Week 3: Feature Development
- Pick a feature from WEBSITE_GUIDE.md
- Study relevant documentation
- Implement & test
Week 4+: Contribution
- Create new features
- Fix issues
- Review PRs
Last Updated: April 2024
Maintained By: Acadly Development Team
Version: 2.0
Contributing to Docs:
- Update relevant .md file
- Update this index if needed
- Commit with clear message
- Create PR for review
- .env.example - Environment template
- package.json - Dependencies
- docker-compose.yml - Docker setup
- schema.sql - Database schema
- seed_videos.sql - Sample data
- Homepage.html - Main page
- videoplayer-live.html - Video player
- server.js - Express server
- routes/videos.js - Video API
- db_config.js - Database config
For the most current information, always check the specific documentation file for your task.
Happy Coding! π