Skip to content

String-sg/live-drawing-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Live Drawing App

Real-time collaborative drawing and interaction between students and teachers, built on Node.js

image

Try it out at
https://live-drawing-app.onrender.com/teacher.html

🎯 Features

  • Real-time drawing board for live classroom sessions
  • Separate views for students and teachers
  • Lightweight frontend with plain HTML/CSS
  • Powered by WebSockets for low-latency interaction

🚀 Getting Started

1. Clone the Repository

git clone https://github.com/your-username/live-drawing-app.git
cd live-drawing-app

2. Install Dependencies

npm install

3. Run the Application

node server.js

The app will be available at http://localhost:3000

4. Access the Interfaces

  • Student View: http://localhost:3000/student.html
  • Teacher View: http://localhost:3000/teacher.html
  • Login Page: http://localhost:3000/login.html

🧪 Deployment

To deploy to any Node.js-supported platform (Heroku, Railway, Render, etc.):

  1. Push this repo to GitHub.
  2. Set the build command to npm install and the start command to node server.js.
  3. Optionally use a reverse proxy or HTTPS config for production.

💡 Potential Extensions

  • ✍️ Drawing Tools: Add pens, erasers, colors, and undo/redo functions.
  • 🧑‍🏫 Annotation Tools: Enable teachers to annotate student drawings.
  • 🔒 Authentication: Secure access with user login/role-based access.
  • 🖼️ Image Export: Allow saving drawings as image files.
  • 📊 Classroom Dashboard: Let teachers monitor student activity.
  • 🌐 Multi-room Support: Support multiple classroom sessions concurrently.

📁 Folder Structure

live-drawing-app/
├── public/              # HTML/CSS frontends
│   ├── login.html
│   ├── student.html
│   ├── teacher.html
│   └── styles.css
├── server.js            # Express + WebSocket server
├── package.json         # Project metadata and dependencies

📄 License

MIT License — contributions welcome!

About

Real-time collaborative drawing between students + teachers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •