Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/socketio/socket.io-chat-platform

A basic chat platform based on Socket.IO
https://github.com/socketio/socket.io-chat-platform

javascript nodejs socket-io websocket

Last synced: 3 months ago
JSON representation

A basic chat platform based on Socket.IO

Awesome Lists containing this project

README

        

# Socket.IO chat platform

A basic chat platform based on [Socket.IO](https://socket.io/) with:

- channel-based messages:

![Screenshot of a public channel](./assets/channel_based_messages.png)

- and private messages:

![Screenshot of a private channel](./assets/private_messages.png)

Table of contents:

* [How to use](#how-to-use)
* [Development](#development)
* [Server](#server)
* [Client](#client)
* [Data model](#data-model)
* [Licence](#licence)

## How to use

```shell
$ docker compose up -d
```

Then go to http://localhost:8080

## Development

### Server

```shell
$ cd server

# start the PostgreSQL database
$ docker compose up -d

# start the server
$ npm run dev
```

### Client

```shell
$ cd vue-client

# start the client
$ npm run dev
```

Then go to http://localhost:5173

## Data model


Data model

## Licence

[MIT](./LICENSE)