Skip to content

This is a project of B/S-software-design course of ZJU. Implemented an IoT management platform website.

Notifications You must be signed in to change notification settings

FelixChristian011226/iot-website

Repository files navigation

English | 中文

IoT Platform By Felix

This is a project of B/S-software-design course of ZJU.
Framework:
    - Backend: Springboot 3
    - Frontend: vue 3
    - Database: Mysql 8.2.0
    - Cache: Redis 3.2.100
    - Mqtt Server: emqx 5.3.2

Table of Contents

Installation

Windows

Direct Run (recommended)

  1. git clone this repository.

  2. start mysql service. init table using file .\iot-database\CreateTable.sql.

  3. unzip the emqx and redis zip file in iot-tools.

  4. enter emqx folder, run in terminal:

    .\bin\emqx start
  5. enter redis folder, run redis-server.exe.

  6. enter iotclient folder, change server in iot.properties if necessary, then run:

    java -jar iotclient.jar
  7. open iot-backend directory in IDEA, install dependencies in poe.xml, change ports and user password in src\main\resources\application.yml if necessary. Then run IotBackendApplication.java.

  8. open iot-frontend\vue-project, run in terminal:

    npm run dev
    
  9. open browser, enter the following address:

    localhost:5173
    

Package run

  1. git clone this repository.

  2. start mysql service.

  3. unzip the emqx nginx and redis zip file in iot-tools.

  4. enter emqx folder, run in terminal:

    .\bin\emqx start
  5. enter redis folder, run redis-server.exe.

  6. enter iotclient folder, change server in iot.properties if necessary, then run:

    java -jar iotclient.jar
  7. start backend:

    java -jar .\docker\backend\iot-backend-0.0.1-SNAPSHOT.jar
  8. run command:

    cp .\docker\frontend\dist\* .\iot-tools\nginx-1.24.0\html\
    start .\iot-tools\nginx-1.24.0\nginx.exe
  9. Open browser, enter the following address:

    localhost:80
    

Docker

  1. Download docker folder.
  2. See docker employment instructions for more help.

Usage

​ As told in installation part.

Presentation

Login Page

loginpage

Home Page

homepage

Device Configuration Page

deviceconfigurationpage

Device Statistics Page

devicestatisticspage

Device Map Page

devicemappage

User Information Page

userinformationpage

Avatar Update Page

avatarupdatepage

Password Update Page

passwordupdatepage

Contributors

License

IoT Platform ©2023 Created by Felix

About

This is a project of B/S-software-design course of ZJU. Implemented an IoT management platform website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published