src/server/init.js config
Config.host = "localhost";
Config.port = 9000;
Config.chatDatabaseUrl = "mongodb://localhost/simplemessenger";
src/src/client/js/init.js config
Config.apiBaseUrl = "http://localhost:9001/spika/v1";
Config.socketUrl = "http://localhost:9001/spika";
node src/server/main.js
Connecting mongoDB mongodb://localhost/simplemessenger
open() is deprecated in mongoose >= 4.11.0, use openUri() instead, or set the useMongoClient option if using connect() or createConnection(). See http://mongoosejs.com/docs/connections.html#use-mongo-client
Server listening on port 9000!
src/server/init.js config
Config.host = "localhost";
Config.port = 9000;
Config.chatDatabaseUrl = "mongodb://localhost/simplemessenger";
src/src/client/js/init.js config
Config.apiBaseUrl = "http://localhost:9001/spika/v1";
Config.socketUrl = "http://localhost:9001/spika";
node src/server/main.js
Connecting mongoDB mongodb://localhost/simplemessenger
open()is deprecated in mongoose >= 4.11.0, useopenUri()instead, or set theuseMongoClientoption if usingconnect()orcreateConnection(). See http://mongoosejs.com/docs/connections.html#use-mongo-clientServer listening on port 9000!