Chatting App Template - Template Jam
Simple Chatting App Template
Build a Chatting Application with Node, Socket.io, and Express
About
This template is based off of a previous project I created, called Sendverse (https://github.com/liam-ilan/sendverse). If you are interested in this, you might want to check it out.
This template is written in Node, with an Express server, and Socket.io to handle messages.
How to use
Navigating this template is simple. index.js
in the root directory contains the server-side code. The public
directory contains the html, css, and javascript for the actual page. Both of these parts can operate independently, allowing you to create whatever you want.
Socket.io listens on message
for for JSONs in the following format:
{
message: <string>
}
The messages are emitted in the same way.
Ideas
No template is good without a few ideas. Here are a couple:
1. Use other people's templates to extend this.
2. Maybe make this look nicer, as this is pretty barebones.
3. Connect a database to this, so that messages can be remembered.
Please comment if you made anything with this! It would be really cool to see if anyone makes something with this!
One final note
Song: Break My Stride, Matthew Wilder
All software written by Liam Ilan
nice
Wow! This is so cool!