SHSim is an open-source tool to simulate cyber-physical attacks on smart home/building.
This project has been bootstrapped with Create React App. The backend (simulation engine) has been built using python. The graph visualization has been done using D3.js. The front-end communicates with the backend using Flask services.
- Node v14.15.4
- Python v3.8.5
- Pip 20.3.3
- Install node dependencies using
npm install
- Launch the web app using
npm start
- Change directory to
cd flask_service
- Install python backend dependencies using
pip install -r requirements.txt
- Start flask server
python api.py