项目作者: maximilianMairinger

项目描述 :
Little realtime chat experiment.
高级语言: TypeScript
项目地址: git://github.com/maximilianMairinger/tingoMaxoChato.git
创建时间: 2020-06-29T22:19:24Z
项目社区:https://github.com/maximilianMairinger/tingoMaxoChato

开源协议:

下载


Tingo maxo chato

Little realtime chat experiment.

Contribute

The frontend / client is referred as app. The backend as server.

Development env

Develop app

The source of the app can be found in /app and the serviceWorker’s in /serviceWorker.

  1. $ npm run devApp

Builds the app on save & spins up a live (notifies client to reload on change) repl server, whose source can be found in /replServer/src.

Develop server

Source found in /server/src.

  1. $ npm run devServer

Builds the server & replApp on save. The source of the replApp can be found under /replApp. No live reloading available, since its the prod server.

Develop server & app

  1. $ npm run dev

Watches production server & app and builds them on save. No live reloading avalible, since its the prod server.

Deploy

Build scripts

Build everything for production

  1. $ npm run build

Start

Start the server with default options

  1. $ npm start

Since this is a npm-run-script, cli options must be escaped in order to distinguish them from npm options. Simply prefix all options with one -- like so:

  1. $ npm start -- --port 1234 --outageReciliance strong
CLI options

Here is a list of all recognised cli options:

TODO