https://github.com/renantrs/chat-app
A ReactJS webchat using websocket with NodeJS and SocketIO
https://github.com/renantrs/chat-app
jest nodejs reactjs tailwindcss testing-library typescript websocket
Last synced: 3 months ago
JSON representation
A ReactJS webchat using websocket with NodeJS and SocketIO
- Host: GitHub
- URL: https://github.com/renantrs/chat-app
- Owner: RenanTRS
- License: mit
- Created: 2022-07-25T15:19:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-10T16:50:48.000Z (almost 4 years ago)
- Last Synced: 2025-10-09T20:35:03.062Z (9 months ago)
- Topics: jest, nodejs, reactjs, tailwindcss, testing-library, typescript, websocket
- Language: TypeScript
- Homepage:
- Size: 2.62 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
⚠️ Under Development!
## About this project
This project is part of my personal portfolio.
## Why?
The purpose of this project was to learn about **WebSocket**
## How to use
To clone and run this project, you'll need **[Git](https://git-scm.com)**, **[node v14.20](https://nodejs.org/en/)** or higher + **[yarn v1.22.15](https://yarnpkg.com)** or higher installed on your computer. From your command line:
```bash
#Clone this repository
$ git clone https://github.com/RenanTRS/chat-app.git
#Go into the repository
$ cd chat-app
#Install dependencies
$ yarn
#or
$ npm i
#Run web (front-end)
$ cd web
$ yarn dev
#or
$ npm run dev
#Run test web (front-end)
$ cd web
$ yarn test
#or
$ npm run test
#Run server (back-end)
$ cd server
$ yarn dev
#or
$ npm run dev
#Generate build server (back-end)
$ cd server
$ yarn build
#or
$ npm run build
#Run build server (back-end)
$ cd server
$ yarn start
#or
$ npm run start
```
## Env Variables
### Web
```
VITE_URL_SERVER = 'your_http_back_end_here'
```
### Server
```
BASE_URL='your_http_front_end_here'
```
## Built with
| Front-End | Back-end |
| :---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------: |
| [](https://vitejs.dev/guide/#scaffolding-your-first-vite-project) | [](https://nodejs.org/en/) |
| [](https://reactjs.org/) | [](https://www.typescriptlang.org/) |
| [](https://www.typescriptlang.org/) | [](https://expressjs.com/pt-br/) |
| [](https://tailwindcss.com/) | [](https://www.npmjs.com/package/cors) |
| [](https://postcss.org/) | [](https://babeljs.io/) |
| [](https://v5.reactrouter.com/web/guides/quick-start) | [](https://socket.io/) |
| [](https://socket.io/) | [](https://eslint.org/) |
| [](https://jestjs.io/) | [](https://prettier.io/) |
| [](https://testing-library.com/) | [](https://www.npmjs.com/package/dotenv) |
| [](https://swc.rs/docs/usage/jest) | [](https://yarnpkg.com/) |
| [](https://swc.rs/docs/usage/core) | |
| [](https://eslint.org/) | |
| [](https://prettier.io/) | |
| [](https://phosphoricons.com/) | |
| [](https://yarnpkg.com/) | |
## Contact
- Email me - renantrsouza@gmail.com
- Connect with me on [LinkedIn](https://www.linkedin.com/in/renantrsouza/)
## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/renantrs/chat-app/blob/main/LICENSE) file for details.