https://github.com/superwf/vue-express-jwt-socketio
example for vue express and socket.io
https://github.com/superwf/vue-express-jwt-socketio
example jwt vue
Last synced: 3 months ago
JSON representation
example for vue express and socket.io
- Host: GitHub
- URL: https://github.com/superwf/vue-express-jwt-socketio
- Owner: superwf
- Created: 2017-07-21T08:06:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-30T08:03:42.000Z (over 8 years ago)
- Last Synced: 2025-04-02T10:39:16.238Z (10 months ago)
- Topics: example, jwt, vue
- Language: JavaScript
- Homepage:
- Size: 367 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-express-jwt
> A Vue.js fullstack example
> vue front end
> express, socket.io backend, auth by jwt
## Build Setup
install dependencies
``` bash
yarn
```
## Run in development env
serve with hot reload at localhost:8080
``` bash
yarn start
```
# NOTE
This is not a lib, tool nor framework. It is a example template to show how combine server and front together work.
First this is a graphql practice, and later add socket.io for transport data, and later remove graphql.
I feel that graphql is just for upgrade from restful, if use websocket, it has no advantage (personal idea).