Skip to content

kdog3682/socketstarter

Repository files navigation

vue-socketio-heroku-starter

vue-socketio-heroku-starter is a vue-socket.io boilerplate to set up a new vue application using a node backend and websockets. It consists of a vue client and a node server and is using vue-socket.io-extended to bind socket.io to the vue instance. The project is set up to be deployed to Heroku.

✨ Example app demo: vue-socketio-heroku-starter.herokuapp.com

Usage

Run npm run serve and node server for development, run npm run build and node server for production.

The application is a simple counter example app, using a node-socket.io server to increment the value across all connected clients. The node server is located in server.js.

Deploy to Heroku

Deploy

or manually create a new Heroku application and add the heroku/nodejs and https://github.com/heroku/heroku-buildpack-static buildpacks. Note that the node server runs from the path specified in the Procfile.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published