Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.24 KB

README-en.md

File metadata and controls

57 lines (36 loc) · 1.24 KB

Build Status GitHub 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

# 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

# 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