The project comprises of basic openboard functionalities such as, writing, erasing, downloading the canvas, adding notes (with minimising it, closing it, dragging it around on the page), uploading the image (features same as of notes), undo and redo actions.
Added realtime drawing functionality using socket.io by connecting to server using Express.js
Using green button, we can minimise the notes and by clicking red button, notes can be closed. Similarly for uploading images.
Realtime drawing can be achieved by the people using same link at same time.
- HTML
- CSS
- JavaScript (Express.js for backend)
- socket.io
Replace https://clone-openboard.herokuapp.com/
with http://localhost:3000/
in index.html
file.
Open the folder in VS code. Open terminal and write these commands:
npm init
Press Enter. Then,
npm install socket.io
npm install --save-dev nodemon
node app.js
Now open the browser and type localhost:3000
.