A powerful and interactive web application that combines a live code editor with a collaborative digital whiteboard. Perfect for developers to write, test, and execute code snippets while simultaneously designing algorithms, flowcharts, or explaining concepts on a shared drawing space. โ๏ธ๐ป
- ๐ด Live Preview: See the output of your Python,C++,C,Java and JavaScript code in real-time.
- ๐ Syntax Highlighting: Supports multiple programming languages for better code readability.
โถ๏ธ Code Execution: Run code snippets directly within the browser.- ๐พ Share Snippets: Share your code for later use with your friends.
- Drawing tool: Select a (e.g., pen โ๏ธ, rectangle โญ, circle ๐ต) from the toolbar.
- ๐จ Choosing Colors: Click the color picker to choose from a preset palette or create a custom color for your strokes and fill.
- Stroke:Adjust the stroke width and opacity for different effects.
- โฉ๏ธ Undoing Mistakes: Click the "Undo" button to remove your last action. Keep clicking to go further back in your history.
- โช๏ธ Redoing Actions: Click the "Redo" button to restore an action you just undid.
- Eraser: Use to correct small mistakes
- Clear ๐งน: button to reset the entire canvas.
- ๐ Split View: Work on your code and whiteboard side-by-side within a single tab.
Follow these steps to run the project locally on your machine: ๐ฅ๏ธ
-
๐ฅ Clone the repository
git clone https://github.com/Archana-P-Nair/CodeEditor-WhiteBoard.git cd CodeEditor-WhiteBoard -
๐ฆ Install dependencies
npm install cd frontend npm install cd .. cd backend npm install
-
๐ฏ Run the development server
npm run dev
Now open another terminal
cd frontend npm run dev -
๐ Open your browser and navigate to
http://localhost:3000
-
๐ฉโ๐ป Code Editor Panel:
- Select your programming language from the dropdown menu. ๐๏ธ
- Start writing your code in the editor pane.
- Click the "Run"
โถ๏ธ button to see the output in the preview panel.
-
๐ Whiteboard Panel:
- Select a drawing tool (e.g., pen, rectangle, circle) from the toolbar. ๐๏ธ๐ด๐ฆ
- Choose your desired color ๐จ and stroke width.
- Start drawing on the canvas.
- Use the eraser โ๏ธ to correct mistakes or the clear ๐งน button to start over.
-
๐พ Share Your Work:
- Use the "Share" ๐ค button on the code editor to share your code.
Check out the live application here: โก๏ธ https://code-edfitor-whiteboard-3c5a-or2g8vmia.vercel.app/
Archana Prasad Nair
- LinkedIn: Archana Prasad Nair ๐ค