Real-time Chat Application
A chat app built with Vite, React, TypeScript, Tailwind CSS, Express, and Socket.io. Users have the ability to join the chat by submitting their name, then they can send, edit or delete their own messages. User can also view the chat history, and a list of active users.
git clone https://github.com/jalonghurst/realtime-chat-application.git
cd realtime-chat-application
Navigate to the server directory:
cd server
npm install
Create a .env file in the server directory and add the following environment variable:
MONGODB_URI=mongodb+srv://jacquilonghurst:[email protected]/chatroom?retryWrites=true&w=majority&ssl=true
Start the server:
npm start
Navigate to the client directory:
cd ../client
Install the client dependencies, and start the client development server:
npm install
npm start
Time spent: Aproximately seven hours in total.