Server implementation for recognizing baby crying sounds received from remote devices
-
Clone the repository.
git clone https://github.com/blead/crycare-server.git
-
Navigate to the project directory.
cd crycare-server
-
Install dependencies.
npm install
The default configuration file config.default.js
is located in config/
.
Create and edit config.js
in the same location to locally configure the server.
cp src/config/config.default.js src/config/config.js
appId
: NETPIE application IDkey
: NETPIE application keysecret
: NETPIE application key secretalias
: NETPIE alias for the servertargetAlias
: NETPIE alias for the deviceport
: The port on which the HTTP server will be listening e.g.80
The server serves all files located in public/
.