Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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.