https://github.com/demian85/electron-chat-app-demo
Simple Electron Chat App Demo (evaluation task)
https://github.com/demian85/electron-chat-app-demo
chat demo electron react
Last synced: 10 months ago
JSON representation
Simple Electron Chat App Demo (evaluation task)
- Host: GitHub
- URL: https://github.com/demian85/electron-chat-app-demo
- Owner: demian85
- Created: 2016-10-01T19:57:33.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-11-11T09:31:24.000Z (over 8 years ago)
- Last Synced: 2025-04-10T11:25:17.136Z (over 1 year ago)
- Topics: chat, demo, electron, react
- Language: JavaScript
- Homepage:
- Size: 109 KB
- Stars: 32
- Watchers: 4
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Electron Chat App
This is just a demo of a basic chat app using Electron and React.
The server is included and must be run using Node.js
## Tiny features
* You provide a username to enter a chat room. Server endpoint is configurable.
* Supports Markdown.
* List of connected users.
* Informs connection and disconnection events.
* Informs when someone is typing.
* Supports multiple instances
## To Use
To clone and run this repository you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)) installed on your computer. From your command line:
```bash
# Clone this repository
git clone https://github.com/demian85/electron-chat-app-demo.git
# Go into the repository
cd electron-chat-app-demo
# Install dependencies
npm install
# Run local server
npm run server
# Run the app
npm start
```
If you want to test the app using multiple instances, remember you should only have one instance of the chat server running!
## Create distributable package
```
npm install -g electron-packager
cd electron-chat-app-demo
electron-packager . --asar
```
You will now have a folder for your platform and you can run the app by executing `electron-chat-app-demo`
Learn more about Electron and its API in the [documentation](http://electron.atom.io/docs/latest).