Week 13 & 14 Sprint 6 (08/01 - 20/01) - Setup AI Model to Server

1.Product

  • Login and Register
  • Get live data from the database

 

2.Process

Login and Register 

 register.jpg

In this App, clients need to register for their own account on the register screen. Before client registers their account the App will check if every section of the field is valid for them to register. For example, the client needs to enter a password that contains at least 8 characters long with one uppercase, one lowercase, one number digit, and a special character. The password will be sent to the database using POST method and hash in the backend.

login.jpg

After clients finish up registering for their own account, they can log in to their account that they just created on the login screen. For security purposes, in the login screen, if a client entered a wrong password or a wrong username it will tell the client that the username or password is wrong instead of which of them is wrong. 

Get live data from the database

arduino1.jpg

In Arduino screen 1, clients need to enter an existing device id to view the live data of that device. It will tell the client that the device id is invalid if the device id does not exist.

arduino2.jpg

The data will be shown on the second screen after the client enters a valid device id.

These data will update by themselves without client have to refresh it every time on that screen.