Skip to content

juhaj77/VisualChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VisualChat

Channel members can edit the shared view and share files. The workspace features a draggable working area, where you can create movable sticky notes, insert HTML code at specific locations, or upload background images. All data is stored in MongoDB. The workspace opens when a channel is selected. Functionality is accessed through context menus, providing a smooth and animated user experience.

try app:

app on Render
Test users are:
username:testuser password:testuser and username:testuser2 password:testuser2
Or you can create your own. Logging in with Google generates a username based on your Gmail address. A new channel must be created for each new user in order to try out the app's features. Firefox performs slowly with react-spring animations...

example use case:
Image of note view

prerequisites

installation

  1. run npm install in folder client

  2. run npm install in folder server

  3. Create web app and get client id from https://console.cloud.google.com app credentials tabb for Google login.

    Image for oauth credentials
    set correct URIs in cloud console credentials tab

    Update line 194 <GoogleOAuthProvider clientId=...> in client/src/index.js

  4. Fix line 24 let socket = io('wss://visualchat.onrender.com') to let socket = io('ws://localhost:3003') in client/src/index.js.

  5. Comment line 11 app.use(express.static('build')) in server/app.js. (this is for Render cloud. It builds directly from github).

  6. create .env file with content:

     MONGODB_URI=mongodb://127.0.0.1:27017
     PORT=3003
     NODE_ENV=test
     SECRET=mySecretString
     CLIENT_ID=client-id.apps.googleusercontent.com
    

    into folder server

usage

tested with Firefox, Chrome and Edge. React-spring is super slow in Firefox and OAuth2 didn't work in Edge in VM

  1. npm start in server folder.
  2. npm start in client folder.

Releases

No releases published

Packages

No packages published