Skip to content

This is full project of comunication between: device, server and web app. Project is easy to modify and extend thanks to its module construction.

Notifications You must be signed in to change notification settings

lokneey/IoTCommunication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is full project of comunication between: device, server and web app. Project is easy to modify and extend due to its modular construction. 

The core of project is server REST api which manage and process sended data or data included in database. Api allows to add, remove, change users and messages. In this server app there is implemented JWT authoristion mechanizm.

Main user is ESP8266 device which can login, add message or post message by HTTP protocol. Microcontroller connects with server app sing login function to generate JWT token. When app has a token it connects with server every 60s to receive 5 most important messages to display. Messages importance is set by server by message priority level and message expiry date. Posting message can be triggered any time (this job is but by other teammate, so it's not included on this repository). This part of projec is implemented using c++ in PlatformIO. All program and instructions what is needed to run it you can find in scr/main.cpp file.

Web app is created to be able to see what data is included in database. It also allows easy adding new users or messages via Internet (NFC communication from this app will be implemented in future). In this app I was also focused on the good appearance and responsiveness of the application. This app also allows to modify user password. I plan to add ability to modify every data of user, or message in the future.

If you have any question about this project you can find me on www.ipprograms.pl.

The MIT License

Copyright 2019 Łukasz Granat

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

This is full project of comunication between: device, server and web app. Project is easy to modify and extend thanks to its module construction.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published