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

  •  
  •