https://github.com/spiritree/vue-socket.io-chat
:speech_balloon: TypeScript + Vue + Express/Koa + Socket.io
https://github.com/spiritree/vue-socket.io-chat
express koa koa2 typescript vue vue-socket
Last synced: about 1 month ago
JSON representation
:speech_balloon: TypeScript + Vue + Express/Koa + Socket.io
- Host: GitHub
- URL: https://github.com/spiritree/vue-socket.io-chat
- Owner: spiritree
- License: mit
- Created: 2017-03-20T12:22:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T09:53:34.000Z (about 7 years ago)
- Last Synced: 2025-04-11T22:13:28.940Z (about 1 month ago)
- Topics: express, koa, koa2, typescript, vue, vue-socket
- Language: TypeScript
- Homepage: https://app.spiritree.me/
- Size: 2.02 MB
- Stars: 64
- Watchers: 3
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README-en.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/spiritree/vue-socket.io-chat)
[](https://raw.githubusercontent.com/spiritree/vue-socket.io-chat/master/LICENSE)## Intro
> I built this project with three stages in order to learn progressively.
> There are the three stages and you can find them in github releases.- Built with FrontEnd only(Vuex)
- Bulit with BackEnd and FrontEnd(JavaScript)
- Bulit with BackEnd and FrontEnd(TypeScript)## Development
### Run with JavaScript
```bash
# Clone project
`git clone https://github.com/spiritree/vue-socket.io-chat.git`# Install dependencies
`npm install`# Run local JavaScript server
`npm run server````
Visit in browser: http://localhost:8989
### Run with TypeScript
```bash
# Clone project
`git clone https://github.com/spiritree/vue-socket.io-chat.git`# Install dependencies
`npm install`# change the directory
`cd server`# build TypeScript->JavaScript with gulp
`gulp build`# Run local TypeScript server
`npm run tsserver````
Visit in browser: http://localhost:8989
## LICENSE
MITCopyright (c) 2017-present, spiritree