loading...
Cover image for Real-Time Chat Application with React, Nodejs, & Socket.io

Real-Time Chat Application with React, Nodejs, & Socket.io

mrshawnhum profile image Shawn Humphreys ・1 min read

My new chat application is now live! I have been very excited to learn how you can make a messaging app similar to Discord or FaceBook Messenger.

GitHub logo mrshawnhum / chat-app

Chat application made with React and Socket.io-client for front-end and Nodejs, Express, and Socket.io for back-end

React Chat Application

Live site - https://react-chat-page.netlify.app

React Chat Application

Client

Client folder is utilizing create-react-ap and socket.io-client. You must use Yarn Start to load the application.

React Chat Application Join Page

Server

The server is powered by Nodejs and Express. To run the server, you will need to use NPM Start. For fast real-time chat messages, the chat application is running under Socket.io.

Server has been deployed under Heroku.

Thank You

There are more features to be added, so stay tuned! Please feel free to reach out for any questions!

(Here is example of a good commit message for Dev.to)




Front-End

I used React to complete the front-end of my chat application. I have also added on React-emoji to allow emojis on the messages. In a later update, I will be adding on an emoji-picker to confidently add emojis. If you fork my project, you will need Yarn Start to load the front-end.

Back-end

For my back-end, I used Nodejs with its framework Express. Socket.io has also been used as it is a fantastic engine that enables realtime, bi-directional communication between the client and server. The entire server file has been published to Heroku. If you would like to fork the project, you will need to run NPM Start to run the server along with the front-end.

Future Enhancements

I will be releasing new updates overtime on this project. My next update will be to incorporate MongoDB to store users' information as well as created rooms. I would also like to add in the ability switch between different rooms(similar to Discord). Ultimately, I want to do a complete design and UI/UX overhaul in the next coming updates.

Thank You

Thank you for checking out my project! I have been very excited to work on creating my chat application. Leave a comment below if you would like me to create a short tutorial on this project. Please let me know if you have any questions!

Posted on by:

mrshawnhum profile

Shawn Humphreys

@mrshawnhum

Currently in search of a Junior Software Developer position! I enjoy React, Nodejs, and steaks!

Discussion

pic
Editor guide
 

Quick update - thinking for all the support! I am new into Dev.to and this blog is almost at 100+ views which would be my first blog past 100!

After I posted this, I was fixing a bug that I found when refreshing the page and now my page seems to have a difficult time deploying. I will update on here when everything is fixed, but feel free to fork the project yourself!

 

Update - The site is live again if you would like to check out the live site! It was a deployment issue