Skip to content

Latest commit

 

History

History
93 lines (54 loc) · 3.27 KB

README.md

File metadata and controls

93 lines (54 loc) · 3.27 KB

Vue, Node-Js live-chat

[Known Vulnerabilities]] Node 6 VueJS 2 Webpack 2

This is a webapp boilerplate project with VueJS + Node.js. It is NOT an out-of-box project. I make it in order to create an up-to-date starter repo which contains all important functions (video-player, live-chat) so when neccessary I can create a new webapp and only need to develop the business logic.

For examples of content I have used a live YouTube video embed, here are two examples: https://www.youtube.com/watch?v=XOacA3RYrXk https://www.youtube.com/watch?v=uTpDWzfRMg8

The comments view on the right is served “in real-time”, appearing at random intervals to create the idea of a live-chat, sent from the server. The user is able to write the comments and see their comment in the timeline of messages.

It is created with Vue as frontend and Node.js as backend. Responsive? To a certain degree, with CSS Grid and FlexBox.

Features

Server-side

Client-side

Build Setup - NODE backend

Before start, you have to install production dependencies with npm: npm install

nodemon is suggested for hotreload

# install dependencies
npm install

# serve with hot reload at localhost:1337
node index.js or nodemon index.js

Build Setup - VUE frontend

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run serve

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

License

This repo is available under the MIT license.

Contact

Copyright (C) 2016 Snake

@asherccohen @asherccohen