This is a sample chat application using reactive programming.
- Kotlin
- Java 17
- Spring WebFlux
- ReactJS
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.
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
If you prefer you can run everything with docker.
- Build the docker image using JIB inside
chat-server
directory :gradlew.bat jibDockerBuild
- Run the docker compose from root directory :
docker-compose up
Distributed under the MIT License. See LICENSE
for more information.
Your Name - @twitter_handle - michal.krzywanski1@gmail.com
Project Link: https://github.com/mkrzywanski/reactive-chat