Skip to content

JamesCV/chat-site-ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chat-site-ws

locally hosted chat website using web sockets using SQLite3

This application will host a website where the socket is pointed to through the socket const:

const socket = io.connect('"Insert URL"');

All messages and account names are saved into a database called "accounts.db" that will be created if not already existing, in the root folder.

accounts.db supports 2 tables, "users" which consists of a primary key collumn, "userid" and "name" collumn and a "messages" table which consists of a foriegn key collumn, "userid" and "messages" collumn.

Also features some commands such as clear command that deletes all messages from the message table in accounts.db and updates the chatbox.

About

locally hosted chat website using web sockets using SQLite3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •