1.0.0 • Published 2 years ago
services-audyx v1.0.0
Attention!
If you send patient data in the socket, please be sure that it doesn't be saved anywhere. (logs, console logs, etc.)
Install
npm installor
yarninstall services DB
- create locla DB
sudo -u $USER createdb servicesdb- set password for your user on psql
psql -d servicesdb -U $USER
\password
{write your user name}
\qnotice: your password needs to be as your user name for example: if $USER = john, you will put john for your password
Run
npm startRun locally
Copy your Audyx certificates to the services folder before running
Services
npm run devThis will run a https proxy server on port 5000
see remote wiki for the remote settings
Audyx
- .env:
change theSERVICES_AUDYX_URLtolocal.koalys.com:5001
Structure
server.js: Runs the express server
socket.js: Handles socket.io
db/migrations: all database migrations
models: all models files
1.0.0
2 years ago