Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghaerdi/simple-chat
Chat using React, Typescript and Tailwind
https://github.com/ghaerdi/simple-chat
react tailwindcss typescript vite websocket
Last synced: about 1 month ago
JSON representation
Chat using React, Typescript and Tailwind
- Host: GitHub
- URL: https://github.com/ghaerdi/simple-chat
- Owner: ghaerdi
- Created: 2022-03-27T06:21:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-21T02:56:16.000Z (over 1 year ago)
- Last Synced: 2024-10-30T07:49:08.250Z (2 months ago)
- Topics: react, tailwindcss, typescript, vite, websocket
- Language: TypeScript
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About
This app uses Vite, React, Typescript, Tailwind and WebSocket.
## Setup
### Backend
Go to the backend directory.
Install dependencies and run `npm run dev` in a terminal, don't close it.### Frontend
Go to the frontend directory.
Add `.env` and set your ip as `VITE_WS_SERVER` like this:
```
VITE_WS_SERVER=ws://
```Install dependencies and run `npm run dev` in a terminal. You can run `npm run dev:host` to expose the app to your local network.