Internship - 1 (IOT Home Devices Management System - React App)
IoT Home Device Management System - (React App)
The internship has Four sections Frontend, Backend, Flutter app, hardware.
This application was based on Postgres, Node.js, React, and Flutter.
The Backend and hardware part was done by or mentor Aditya Patel, the React part was done by Me and one of my Project Partners Bhavya Gosai, and the Flutter part was done by our other two project members Aman Desai and Jash Tewani.
The React Application or so-called Web App in the Internship, the app is built in react js. the App is also completely Responsive.
The Web App include the Landing Page, Sign IN / SignUP page , Features Page, Contact Page and the Dashboard. the Dashboard have further sections Devices section, User Setting's section and Setting's section.
The Landing page includes the Navbar, Hero section, Features section, Pricing section, clients section, Footer.
The Contact us page includes the contact details of the company ans well as the contact form where the user can post their queries.
Thene is the Sign IN / Sign UP page where the user can create their account and login to their account to go on dashboard.
once on successfull login a notification toast will apper with the msg of "successfull login" and then the user will be redirected to the dashboard or the devices section where the user can view their devices and controll the devices.
the application has features like Protected Routes, in which if the user is not logged in then they can not go the certain url address by manually entering that in the address bar. if they do try to do that they will be automatically redirected to the home page.
we have also implemented Persistant Login, in which if the user have once logged in and have not logged out then again when they come back they do'nt have to login again they directly will be redirected to the devices page. this is acheived by saving the access token in the browsers local storage. to prevent the token from being accessiblle to others, the token is being expired after 1 day to if the user try to load the page then it will shoe them the messge that the session expired and they have to login again.
That was it all about the Web App, the Web app can only access the devices it can not add or delete the device, for adding the device the user haveto use the Flutter App as the browser do'nt have the access to wifi, and the android have so. the android app is must to setup the device.
the hardware was based on the NodeMcu esp8266 module which will be connecting to the wifi and making request to the Database for the state of the device after a certain interval of time.
Comments
Post a Comment