1
Fork 0
No description https://wss.tobot.dev/
This repository has been archived on 2022-02-28. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
Tobias Berger cacc279dcf
Update submodule
Fixes isDesiredNameMessage
2022-02-28 11:32:48 +01:00
lib@221ed4fcc3 Update submodule 2022-02-28 11:32:48 +01:00
.gitignore Several changes 2022-02-28 11:32:23 +01:00
.gitmodules Update submodule url 2022-02-28 11:32:37 +01:00
LICENSE Clean up package files 2022-02-28 11:32:38 +01:00
package.json Update dependencies 2022-02-28 11:32:42 +01:00
README.md Make Node.js version info bigger 2022-02-28 11:32:47 +01:00
rollup.config.js Use different TS config and rollup plugin 2022-02-28 11:32:20 +01:00
server.node.ts Update submodule 2022-02-28 11:32:48 +01:00
tsconfig.json Use different TS config and rollup plugin 2022-02-28 11:32:20 +01:00
yarn.lock Update dependencies 2022-02-28 11:32:42 +01:00

Backend for Minimal Non-Persistent chat

Built in TypeScript 4.5 with rollup.js

Install

Run the command yarn install (or the equivalent in your package manager of choice).

Build

Run the command yarn build (or the equivalent in your package manager of choice).

This will run rollup with the project's rollup.config.js.
Alternatively, you can run rollup manually without a package manager.
(cf. rollup's guide for a how-to)

Run

Run the command yarn start (or the equivalent in your package manager of choice).

The compiled script does not take any parameters.
Any configuration needs to be done in-source, before the building step.

This will run the compiled JavaScript file with the environment's node executable.
Alternatively, manually run <your node path>/node ./server.node.bundle.js

Combined script

The combined script yarn prod (or equivalent) will run the build script and, if successful, the run script.

This package has only been tested on Linux with Node.js v17.3.0