An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

[![Build Status](https://img.shields.io/travis/spiritree/vue-socket.io-chat/master.svg?style=flat-square)](https://travis-ci.org/spiritree/vue-socket.io-chat)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](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
MIT

Copyright (c) 2017-present, spiritree