The valid messages for the web socket are:
- ADD_FAVORITE_GIF
- REMOVE_FAVORITE_GIF
- SET_FAVORITE_GIF
- Install dependencies:
npm install
- Run the tests:
npm run test
- Run the server:
npm start
By default the socket on the server runs in:
http://127.0.0.1:5000
You can modify the port in which it will run on the config.js file.
The application was deployed in Heroku (although there is nothing to see as it is a back end service):
https://gifsappserver.herokuapp.com/
The front end for this web socket is in the following repo on GitHub:
https://github.com/itReverie/gifsAppClient
The deployment of the front end is in the following heroku instance: