Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/larkenx/ktor-react-chat
A real-time chat client+server created using web sockets with Kotlin+Ktor backend and React+Material UI front end.
https://github.com/larkenx/ktor-react-chat
Last synced: about 2 months ago
JSON representation
A real-time chat client+server created using web sockets with Kotlin+Ktor backend and React+Material UI front end.
- Host: GitHub
- URL: https://github.com/larkenx/ktor-react-chat
- Owner: Larkenx
- Created: 2019-02-15T05:00:04.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-01T16:22:30.000Z (over 3 years ago)
- Last Synced: 2024-10-12T12:14:25.206Z (2 months ago)
- Language: JavaScript
- Size: 670 KB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KTOR Simple Websockets Chat Server+Client
![screenshot](resources/screenshot.jpg)
This repository hosts a simple Kotlin Ktor websockets chat server, based off the [this ktor guide](https://ktor.io/quickstart/guides/chat.html#) on the official ktor site. Under `resources/client`, you will also find a simple chat web client created with React and Material UI.
To work with this app, simply pull this project into Intellij or Eclipse, and build with gradle. You should be able to run the main method of the `Application.kt` file under `src`, and that will start up a Netty server. Hit `http://localhost:8080/`, and the React app should get served up to you!
If you want to run the web application independently, you can do so by installing the dependencies with `yarn` or `npm` under the `resources/client` folder, then running `yarn start`.