Skip to content
Sign upLog in
← Back to Community

Chatting App Template - Template Jam

Profile icon
snowboardsheep

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

Voters
Profile icon
floribert10
Profile icon
G0RG3
Profile icon
Leroy01010
Profile icon
andrewmeireplit
Profile icon
snowboardsheep
Comments
hotnewtop
Profile icon
andrewmeireplit

Wow! This is so cool!

Profile icon
JamesBel

Thank you for the application update on your blog with us that would work for everyone. There should be the people who need to fix the problem with application development able to get the help on https://opportunitydesk.org/2022/04/18/how-to-help-a-high-school-student-choose-a-career/ blog. I admire your tremendous suggestions these are wise.

Profile icon
Leroy01010

nice