Skip to content

dills122/session-chat

Repository files navigation

Session Chat: Secure Session Chatrooms

CI Job

Chat securely with one or more associates without a worry of it getting out.

Getting Started

At the moment this will need node v18 or greater.

# setup the correct node version
nvm install lts/hydrogen
nvm use lts/hydrogen
# installs all dependencies
rush install
# sanity check
rush test:ci

Setting Up Local Env

If your on MacOS then you can get away with just running the ./scripts/setup-certs.sh.

For other OS's you'll need to make sure these dependencies are installed first.

Install mkcert & nss through choco for Windows or apt-get on your linux distro.

Note powershell needs to be run in administrator mode.

MacOS Setup:

# Sets up the SSL certs for local development
./scripts/setup-certs.sh
# Adds needed rows to the hosts file
./scripts/configure-hosts-unix.sh
# Setup Encryption keys for backend
./scripts/setup-backend-keys.sh

Now that all the dependencies are setup you can spin up the local docker env.

# starts dev env
rush docker-up:dev
# start UI project separately
cd ./apps/chat-frontend/ && rushx start:dev

Notes & Misc

Upgrading Packages

# check all packages but angular ones
ncu '/^(?!.*angular).*$/'