No description
Find a file
2024-03-02 13:44:37 +01:00
.github/workflows chore: fix test worklow 2022-05-07 03:39:18 +02:00
src fix(room): prevent duplicated users 2022-05-14 05:50:46 +02:00
test feat: implement update room ownership and refactor test 2022-05-07 03:26:38 +02:00
.gitignore 🔒 Implement SSL, remove .env files 2020-04-09 10:40:22 +02:00
CHANGELOG.md chore(release): 2.3.1 2022-05-14 05:52:03 +02:00
package.json chore(release): 2.3.1 2022-05-14 05:52:03 +02:00
README.md doc: update README 2024-03-02 13:44:37 +01:00
tsconfig.json chore(tsconfig): add es2020 to target and lib 2021-06-05 10:18:14 +02:00

Peario Server

Development

Create an SSL certificate

openssl req -x509 -sha256 -nodes -newkey rsa:2048 -days 365 -keyout localhost.key -out localhost.crt

Create a .env file at the root of the project and place those variables

PORT=8181
PEM_CERT=cert/localhost.crt // location of your signed cetficate 
PEM_KEY=cert/localhost.key // location of your cetficate private key
INTERVAL_CLIENT_CHECK=3000
INTERVAL_ROOM_UPDATE=600000

Open https://localhost:8181 in your browser and click Accept the risk and Continue (Firefox) or Proceed to localhost (unsafe) (Chrome)

Install dependencies

npm i

Run the server

npm start