The EngageSphere application is a web application written using ReactJS on the frontend and Node.js in the backend.
The only pre-requisite to run this app is to have npm and Node.js installed in your machine. For instructions on how to install, go to https://nodejs.org/en/.
After cloning the repo ...
You can run the backend locally or using Docker.
Open a terminal, go to the root of this repo and:
cd backend
npm install
npm startThe server will be listening on port 3001. If you need to change it, set the PORT environment variable to a different value (e.g., PORT=3002).
There are two different images for different platforms: amd64 and arm64.
To run it using the AMD64 architecture (typical for most desktops and servers), execute the following command: docker run --publish 3001:3001 wlsf82/engagesphereserver:amd64.
To run it using the ARM64 platform (often used in newer Macs with Apple Silicon, Raspberry Pis, and other ARM-based systems), execute the following command: docker run --publish 3001:3001 wlsf82/engagesphereserver:arm64.
Access the API image repository on DockerHub.
Open a new terminal, go to the root of this repo and:
Important: if you changed the backend port number, you will have to set the REACT_APP_API_PORT value to the same value used in the backend PORT variable.
cd frontend
npm install
npm startGo to a web browser and open http://localhost:3000/.