Messenger App
-
Install Node and NPM
-
OSX:
brew install node
-
Linux :
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
-
-
Install project dependencies
-
From the directory where
package.json
is placed, run:npm install
-
You can ignore these messages:
npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN [email protected] requires a peer of react@^15.3.0 but none is installed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
-
-
set the REACT_APP_BACKEND_URL value:
export REACT_APP_BACKEND_URL='http://localhost:5000'
-
run the client using npm:
npm start