Real time chat application group oriented built with React and Spring Boot. Talk with your friends, create and add users to conversation, send messages or images, set groups administrators and start video calls ! (coming soon)
- JDK 17
- NodeJS v20.12.1
- ReactJS v18
- Material UI v5.7.0
- MySQL Server
In a hurry ? Juste type docker-compose up
in the root directory.
This will start 3 containers : MySQL, backend and frontend together. Liquibase will take care of the database setup. For development purpose, the DB is filled with 5 accounts (password: root
) :
- Thibaut
- Mark
- John
- Luke
- Steve
Warning : Be sure that no other app is running on port 3000, 9090 or 3306
- This project use liquibase as a version control for database. When you will start backend, all tables and structures will be generated automatically.
- You can disable Liquibase by setting
spring.liquibase.enabled=false
inapplication.properties
. - To try the project on localhost, check that nothing runs on ports 9090 (Spring Boot) and 3000 (React app)
- You can edit
spring.datasource
inbackend/src/main/resources/application.properties
andusername
andpassword
inbackend/src/main/resources/liquibase.properties
with your own MySQL login / password - Create a database named "fastlitemessage_dev" or you can also modify the name in the properties files mentioned just above.
- Go inside backend folder then type
mvn spring-boot:run
to launch backend. - Or you can type
mvn clean package
to generate a JAR file and then start server withjava -jar path/to/jar/file
(Normally in inside backend/target/)
- Go inside frontend-web folder and then type
npm run start
- Please note there is no specific security over websockets.
- Docker setup is not production ready
- Simple chat group application
- Send images
- Start video calls
- Secure user account
- Room discussion
- Chat group administrators
- Add / remove users from conversation
- Dark / Light Mode