A python based local web app with React.js UI that analyzes the LAN network (designed for star topology) and offers various information, including:
- A list of all devices connected to the hub.
- Bandwidth usage of the hub.
- A list of all network interfaces on the hub.
- Wi-Fi information of the hub.
- vEthernet information of the hub.
- DNS Server information.
To get started with this project, follow these steps:
- Fork the repository and clone it to your local machine.
git clone <forked-repo-url>
- Change the directory to the cloned repository.
cd lan-analysis-backend
To run the backend, perform the following steps:
- Change to the backend directory.
cd backend
- Create a virtual environment.
python -m venv venv
- Activate the virtual environment.
.\venv\Scripts\activate
- Install the dependencies.
pip install -r requirements.txt
- Run the Flask server.
python app.py
Alternatively, you can run the command line script:
python cli.py
To run the frontend, follow these steps:
- Open another terminal and change the directory to the frontend.
cd frontend
- Navigate to the
frontend\main
directory.
cd main
- Install the dependencies.
npm install
- Run the React server.
npm run dev