A single-page app built with React that lets multiple clients send messages to each other in a chatroom environment.
- Users can send text-based messages to each other
- Users can update their display names
- Messages can include images, either by: -- Providing links in the message text, or... -- Beginning a message with the '/gif' command, followed by some text for the Giphy API to search from
- A display that shows the current number of connected users
- Front End: JavaScript, React, HTML, SASS
- Back End: Node, Express, WS
- Clone the repo to your local machine
- In the root folder, run
npm installto install the client server's dependencies. - In the chatty_server folder, run
npm installto install the WebSocket server's dependencies. - In the chatty_server folder, create an .env file. In your .env, enter your Gify API key in the following format:
API_KEY=[YOUR KEY HERE]
- Initialize the servers by running
npm startin both the root and chatty_server directories, and open the app on http://localhost:3000
- React
- Webpack
- Babel
- WS
- SASS Loader
- SockJS
- Style Loader
- Express
- WS
- UUID
- dotenv
- Request
