A simple chat app made in react and that uses express, socket.io, endcrypt and peer.js for providing video calling service and End-to-End encrypted chat facility.
DISCLAIMER: The webapp only works in desktop environment and does not guarantee quality experience on smart phone.
To setup the app follow the provided steps below.
-
Pre-requisites
- Should have NodeJS v10.19.0 or above installed.
- Should have NPM v6.14.4 or above installed
-
Install Steps.
-
Their is two scripts to set everything up, you can use the
setup.ps1
forWindows
andsetup.sh
forlinux
-
OR manually follow the steps in the project directory
-
Install server dependencies
npm install
-
Compile source code
npm run build
-
Initialize database and prisma client
npx prisma migrate dev --name init
-
Install client dependencies
cd ./web npm install
-
Build production web client
npm run build
-
-
-
Running steps
-
Run this command in the root of the project
npm start
-
Open
http://localhost:8000
in the browser.
-