Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hm-web-dev/socket-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

socket-demo

This is a socket demo that was started using npm init vue.

Then Chat-GPT wrote server.js and some Vue code that I organized into App.vue. Pretty neat if you ask me!

TODO:

  • User experience feature: save your socket id from localstorage so you can rejoin a room if you refresh the page
  • Play audio and sounds throughout the game
  • Word DB: Allow voting on words
  • Allow adding words to the DB

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Run Server

node server/server.js

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

About

Client-server socket demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published