/lerboardx

๐ŸŽจ Simple collaborative DOM-based whiteboard

Primary LanguageSvelte

๐Ÿ’ป LerboardX

Simple collaborative whiteboard.

Demo

Features

  • Add Note
  • Add Text
  • Add Text area
  • Pencil feature
  • Delete selected item(s)
  • Resize the selected item
  • Move the selected item
  • Move canvas area
  • Collaborative feature
  • Undo/Redo feature

Features to do

  • Zoom canvas area (by mouse wheel, by widget)
  • Sharing cursor position functionality
  • Edit selected item (color, font style, font weight, text-align)
  • Rubber feature
  • Connect items
  • Minimap

Built with

โš›๏ธ Frontend

  • Svelte

๐Ÿ›  Backend

  • Express.js
  • Socket.io

๐Ÿงช Testing

๐ŸŒ Deploy

  • Heroku

Get Started

Prerequisites:

  • Node 16+
  • npm 5+
  • git latest

To set up the app execute the following commands.

git clone ...
cd ...
npm install

Learn More

Developing

Once you've installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

The page will reload if you make edits.
You will also see any lint errors in the console.

Building

To create a production version of the app:

npm run build

Your app is ready to be deployed!
You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.