Skip to content

jayeshmurli/Jayesh_Iyer_IoTLab_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jayesh Iyer - IoT Lab Vehicle Tracker Sensor Application

IoT Lab Vehicle Sensor Application to process vehicle readings and generate alerts for abormal values

Built With

Versioning

This whole project was maintained using Github a Versioning tool.

Coding Style

  • Insert Vehicle Information.
    Vehicle informations are inserted or updated using below REST API with method PUT.

    PUT http://localhost:8080/CarTracker/rest/vehicle
    
  • Insert Vehicle Readings.
    Vehicle Readings are inserted using below REST API with method PUT.

    POST http://localhost:8080/CarTracker/rest/reading
    
  • Get Vehicle Informations.
    Vehicle informations are retreived using below REST API with method GET.

    GET http://localhost:8080/CarTracker/rest/vehicle
    
  • Get All Vehicle HIGH Priority Alerts.
    Vehicle Alerts that have Priority HIGH are retreived using below REST API with method GET.
    Note : Time conversion is implied in the workflow to convert current time from EST to UTC.

    GET http://localhost:8080/CarTracker/rest/alert
    
  • Get Vehicle Specific Alerts.
    All alerts for a specific vehicle are retreived using below REST API with method GET.

    GET http://localhost:8080/CarTracker/rest/alert/vehicle/{vin}
    

Prerequisite

  • Install Java 1.7 or latest.
  • Install MongoDB and Apache Tomcat Server.

Steps to Run

  • Download or Clone Repository to local directory git clone URL.
  • Open Command Prompt and navigate to local directory cd <localdirectory-path>.
  • Open the project using Eclipse IDE.
  • Install maven dependencies on Eclipse IDE.
    Right Click on Project >> Run As >> Maven Build
  • Start MongoDB server and import given database.
    mongorestore -d Sensor <localdirectory-path>/Sensor/ -u username -p password
  • Start the Apache server
  • Use provided REST APIs to test the application.

Author

  • Jayesh Iyer

Acknowledgments

About

Car Tracker Sensor project for IoT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages