Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moustaphacamara/chat-app
Little chat application using web sockets
https://github.com/moustaphacamara/chat-app
Last synced: 14 days ago
JSON representation
Little chat application using web sockets
- Host: GitHub
- URL: https://github.com/moustaphacamara/chat-app
- Owner: MoustaphaCamara
- Created: 2024-06-30T15:35:17.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-01T08:24:48.000Z (7 months ago)
- Last Synced: 2024-07-04T21:54:45.438Z (7 months ago)
- Language: TypeScript
- Size: 108 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chat app using React/ts, Node/Express & socket.io
Trying some stuff with the socket.io lib on a live chat application.
To run this app :
Using https :
```bash
git clone https://github.com/MoustaphaCamara/chat-app.git
```
Using ssh :
```bash
git clone [email protected]:MoustaphaCamara/chat-app.git
```Run the back-end (on port 8000, you can change it on `./server/index.js`) :
```bash
npm start
```Then run the front-end on another terminal (using Vite, port is 5173) :
```bash
npm run dev
```Open the app at `http://localhost:5173/`
Open another browser with the same http://localhost:5173/, and the two clients can now join the same room and chat.
***
This app is only for test purposes, as you will notice there is no architecture, design etc. I just wanted to try out implementing websockets as it's been long :D