SatvikNema / satchat

simple chat application over stomp (web sockets) with user authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Satchat

satchat-faster.gif

Starting the application

Requirements:

java: 21
node: 20
docker

Spin up the database container and setup mock users

cd ./scripts
./docker.sh

Run the spring boot app

cd back to the project root

mvn clean install
java -jar ./target/satchat-0.0.1-SNAPSHOT.jar

Start the front end

Open a new terminal from the project root and run:

cd ./satchat-ui
npm install
npm run start

open localhost:3000

If you see an error like Unexpected end of JSON input that means you dont have any mock users in your database yet.

Set them up using the script setup-users.sh:

cd ./scripts
./setup-users.sh

About

simple chat application over stomp (web sockets) with user authentication


Languages

Language:Java 73.5%Language:JavaScript 23.0%Language:Shell 2.1%Language:CSS 0.9%Language:HTML 0.5%