Skip to content

9Yogesh9/drawing_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Drawing Tool ๐ŸŽจโœ๏ธ

React Next.js Node.js Express.js Styled Components Vercel

A versatile and interactive drawing tool crafted with passion. Dive in to explore, draw, and express your creativity digitally! Leverage our web application, meticulously engineered using Next.js and Node.js, to collaborate seamlessly with colleagues worldwide. By accessing the identical link in a distinct browser tab, all drawing, erasure, undo, and redo actions synchronize in real-time, ensuring a unified experience for all participants.

GIF showing the drawing tool in action

๐ŸŒ Live Demo: Drawing Tool

Features ๐ŸŒŸ

  • Freestyle Drawing: Unleash your creativity with freehand drawing.
  • Color Palette: Choose from a range of colors.
  • Easy Undo/Redo: Made a mistake? Just undo it with a single click.
  • Export Options: Save your masterpieces in JPEG formats.
  • Only Desktop/Laptop: Works beautifully on desktop/laptops.

๐Ÿ› ๏ธ Tech Stack

Drawing Tool is built with the power and simplicity of several leading technologies:

  • Frontend:

    • React React.js: A JavaScript library for building user interfaces.
    • Next.js Next.js: A React framework for server-rendered applications.
  • Backend:

    • Node.js Node.js: A JavaScript runtime built on Chrome's V8 engine.
    • Express.js Express.js: A minimal and flexible Node.js web application framework.
  • Styling and UI:

    • Styled Components Styled Components: Visual primitives for component-centric styling.
  • Deployment:

    • Vercel Vercel: A platform optimized for frontend and serverless deployment.
  • Other:

    • Tools like WebSockets, Canvas API, etc.

Table of Contents

Installation ๐Ÿ“ฆ

  1. Clone the repository:

    git clone https://github.com/9Yogesh9/drawing_tool.git
  2. Navigate to the project directory:

    cd drawing_tool
  3. Install the required dependencies:

    npm install
  4. Start the application:

    npm start

Usage ๐Ÿ–Œ๏ธ

  1. Open the application in your browser.
  2. Open the same application in another browser tab.
  3. Choose a tool from the toolbar.
  4. Select a color from the palette.
  5. Start drawing on the canvas.
  6. All of your actions will be in sync across the browser tabs. Enjoy!

Server configurations ๐Ÿ“ก : Server Link

The server for this app is configured in node.js and will be needed to get the activites in sync across all instances. Please check out : https://github.com/9Yogesh9/drawing_tool_server

Contributing ๐Ÿค

We welcome contributions from everyone.

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes.
  4. Submit a pull request!