nodejsNavigate into ./main_server and ensure you can access nodejs by typing "node --version". If it return a version, proceed to do 'npm install' to install dependencies. If it doesn't return a version, make sure nodejs is installed correctly or perform a reinstall.
cd main_server
node --version // v10.xx.x
npm installRepeat this for ./encryption_server to get dependencies for the encryption server.
cd encryption_server // remember to 'cd ..' out to root directory
npm installYou will need two terminals to run this program. Start by running the main server.
cd main_server // terminal 1
node index.jsthen run encryption server
cd encryption_server // terminal 2
node index.jsOpen up Chrome, and enter "http://localhost:3000", where an index page will be served to your browser. From there you can start decrypting and encrypting your data.
Input valid data into either the encrypt or decrypt text box, then click the corresponding button. A rest call will be performed and the result shown in the opposite box. Output will be displayed on the opposite box and overwrite the existing data if present.