To prepare the client, use npm install
in the client folder.
To run the client, use npm start
in the client folder.
The server needs HTTPS.
To prepare the server, use npm install
in the client folder.
To generate the required keys, use:
openssl genrsa -out key.pem
openssl req -new -key key.pem -out csr.pem
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
rm csr.pem
mv cert.pem file.crt
mv key.pem file.pem
Then run npm start
in that folder.