Technologies | Project | Running the Application | Paper | Layout | License
This project was developed with the following technologies:
- Java
- JavaScript
- Node.Js
- PostgreSQL
- Rest API
- TypeScript
- CSS
- HTML
- Web Components
- Vaadin
- Lit
- Git
- GitHub
The project's main goal was to design a Web interface for IoT network devices through Web Components, aiming at its use by users of technological framework management systems involving cyber-physical equipments. The graphical representation was also intended to be inserted as elements that allow users to interact with the devices and manipulate them by changing their attributes.
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).
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/iotmanager-1.0-SNAPSHOT.jar
.
In the .github folder you can find a file named "UX-IOT Schema.sql" that includes all the necessary schemas to create your DB tables and all that you need to do is just to import it to a admnistration database program. For that we suggest DBeaver but you can use one of your preference.
To get all the information of your web component while manipulating his specifications you need to have the NodeJS installed.
To run the program you need to insert the following command:
# Node modules
npm install
# Run node
npm start
If you wish to read how this project was developed and the process of construction you can go to our docs folder and read the pdf that contains the UX-IOT paper.
The Project uses the App Layout setup from Vaadin framework and can be viewed through THIS LINK.
The layout can be observed individually and changed by accessing the following files:
MainLayout.java
insrc/main/java
contains the navigation setup (i.e., the side/top bar and the main menu).views
package insrc/main/java
contains the server-side Java views of your application.views
folder infrontend/
contains the client-side JavaScript views of your application.themes
folder infrontend/
contains the custom CSS styles.
This project is under the MIT License.
Developed by Tiago Cebola and Gustavo Campos, belonging to the LEIRT61D class at ISEL. 👋