Skip to content

xNeshi/live-group-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Live Group Chat

Real-time messaging within one chat box using spring websockets with spring REST API for fetching of logging.

Java SpringBoot MySQL Typescript Tailwind Next.JS

live-group-chat-img

Quick Start / Setup

Follow these steps for quick start of using the app

Pre-requisites

Make sure that these are installed in your local machine

Installation on Local Machine

Clone the repository

git clone https://github.com/xNeshi/live-group-chat

Install the packages

cd frontend
npm install

# Start Intellij IDEA Ultimate
# Open backend file only
mvn clean install

Setup the environmental variables

Check the backend/.env.example. Copy paste the config then paste it on a new .env file. Modify base on your database configurations.

# backend/.env.exmaple
DB_NAME=messages
DB_HOST=localhost
DB_PORT=3306
DB_TYPE=mysql

DB_USERNAME=
DB_PASSWORD=

DB_DDL-AUTO=update
DB_DRIVER=com.mysql.cj.jdbc.Driver
DB_DIALECT=MySQLDialect

Run the project

# start the backend
mvn spring-boot:run

# start the frontend
npm run dev 

Project should be running on http://localhost:3000. All users only use one link

About

Spring Boot Websocket x NextJS application for a simple real-time group chat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published