/react-node-sse-server

This is the react js server side implementation realtime app in react js, node js, express js & mongodb using server-sent-event

Primary LanguageJavaScriptMIT LicenseMIT

How to run the server

  1. Create a .env file in the server root directory and copy the configuration in the .env.example and paste in it
  2. Adjust the variables to suit match with the client config
  3. Open a cmd window and navigate to the server directory
  4. Run the command npm install
  5. Run the command nodemon and your project should be up and running
  6. If you encounter any error running nodemon, ensure you install it globally by running npm install -g nodemon then repeat step 5 again