/gifsAppServer

Server instance that uses a socket-io server to dispatch messages to a front end reactjs app.

Primary LanguageJavaScriptMIT LicenseMIT

Server web socket for the favorite gifs web app


The valid messages for the web socket are:

  • ADD_FAVORITE_GIF
  • REMOVE_FAVORITE_GIF
  • SET_FAVORITE_GIF
  1. Install dependencies:
 npm install
  1. Run the tests:
 npm run test
  1. 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.

Backend


The application was deployed in Heroku (although there is nothing to see as it is a back end service):

https://gifsappserver.herokuapp.com/

Frontend


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:

https://gifsappclient.herokuapp.com/