Giter VIP home page Giter VIP logo

freehand's Introduction

Freehand

A collaborative whiteboard made with Fabric.js.

Features:

  • Collaborate with another person in 'real-time' - What you see on one screen is what you see on the other screen simultaneously.
  • Brush with assorted color options
  • Create Text boxes
  • Create Shapes
  • Download the Canvas content with one-click
  • Desktop and Tablet screen responsiveness
  • Can clear the Canvas data from the database by using the 'clear canvas' button.

Tech stack

  • HTML
  • CSS
  • React.js
  • Firebase Firestore
  • Firebase Hosting

How to test "Freehand" app

  • Open the live demo website seen above in "Two separete chrome windows" (Press Ctrl + N twice in chrome)
  • Bring the two chrome windows side by side so that each windows content is visible
  • Hit refresh( or F5) on both windows to make it responsive to the current screen size
  • In the 1st chrome window, draw something on the canvas
  • In the 2nd chrome window, you can see that the same content of 1st windows is being displayed (if the content is not being display at first Press "Load" Button)
  • Now both screen's are synced at the same time. Happy scribbling!

Installation guide

  1. npm i - to install dependencies
  2. create a firebase.js file inside 'src' folder
  3. Copy the following code into firebase.js file
import firebase from "firebase";

//********COPY AND PASTE FIREBASE CONFIG FILE BELOW**********



// Initialize Firebase
firebase.initializeApp(firebaseConfig);

export const db = firebase.firestore();

  1. In the given space above, copy and paste the config details of your firebase app.
  2. npm start - to view React app in the browser

freehand's People

Contributors

ridhikgovind avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.