Skip to content

MouadxBth/networking-project

Repository files navigation

Networking-project (Network-Utils)

This project is a simple recreation of a Port Scanner and a Device Finder within a specific network.

landing page

Port Scanner

portscanner page

Here is a successful port scan on the ip 192.168.1.1:

portscanner success

Device Finder

devicefinder page

Here is a successful device scan on the network ip 192.168.1:

devicefinder success

About

This project was created with 🤍 by Mouad Bouthaich Alaa El-hari and Younes Moustaquim.

about page

Running the application

The project is a standard Maven project. To run it from the command line, type mvnw (Windows), or ./mvnw (Mac & Linux), then open http://localhost:8080 in your browser.

You can also import the project to your IDE of choice as you would with any Maven project. Read more on how to import Vaadin projects to different IDEs (Eclipse, IntelliJ IDEA, NetBeans, and VS Code).

Deploying to Production

To create a production build, call mvnw clean package -Pproduction (Windows), or ./mvnw clean package -Pproduction (Mac & Linux). This will build a JAR file with all the dependencies and front-end resources, ready to be deployed. The file can be found in the target folder after the build completes.

Once the JAR file is built, you can run it using java -jar target/networking-project-1.0-SNAPSHOT.jar

Project structure

  • MainLayout.java in src/main/java contains the navigation setup (i.e., the side/top bar and the main menu). This setup uses App Layout.
  • views package in src/main/java contains the server-side Java views of your application.
  • views folder in frontend/ contains the client-side JavaScript views of your application.
  • themes folder in frontend/ contains the custom CSS styles.

Useful links

Deploying using Docker

To build the Dockerized version of the project, run

mvn clean package -Pproduction
docker build . -t networking-project:latest

Once the Docker image is correctly built, you can test it locally using

docker run -p 8080:8080 networking-project:latest

About

A simple port scanner in addition to a device finder.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published