/reactive-chat

Reactive chat implemented with Spring WebFlux and ReactJS

Primary LanguageKotlin

reactive-chat

Table of Contents

  1. About The Project
  2. Built With
  3. How to use
  4. License
  5. Contact

About The Project

This is a sample chat application using reactive programming.

Built With

  • Kotlin
  • Java 17
  • Spring WebFlux
  • ReactJS

How to use

Backend

To run backend application you need Java 14 to be installed. Then you can use gradlew wrapper to run it directly :

gradlew.sh bootRun

from chat-server directory. This will run the application on localhost:8080 and weboscket will be exposed on /event-emitter endpoint.

Frontend

To run chat client frontend you will need to have NodeJS and npm installed. Then you can use :

npm run start

from chat-client directory to start the application on localhost:3000

Docker

If you prefer you can run everything with docker.

  1. Build the docker image using JIB inside chat-server directory :
    gradlew.bat jibDockerBuild
    
  2. Run the docker compose from root directory :
    docker-compose up
    

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Your Name - @twitter_handle - michal.krzywanski1@gmail.com

Project Link: https://github.com/mkrzywanski/reactive-chat