-
Notifications
You must be signed in to change notification settings - Fork 0
Play Framework web service using FitBit api and reactive-mongo.
License
A00107408/Healthcare-Monitoring-Web-Service
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Student: A00107408. Date: 2016-2017. Project: Msc Project. Title: A Restfull WebService using Play Framework 2.5. ================================================================================================= Description: ------------ This SBT project uses PlayEbeans to facilitate the creation of user accounts. The users data is then taken from my FitBit account from the FitBit Api. This is written to MongoDB collections and is read from there in turn and displayed using HighCharts. Javascript code determines if this data falls within pre-set parameters. If not, the accompanying Android app texts the I.C.E of potential problems. Requirements: ------------- MongoDB - For user's data ie; Heart Rate and Datetime. MySQL RDBMS - For user accounts. Android App - Create user account and login. Sends warning text when 50 > HR < 160 BPM. See 'build.sbt' and 'project/plugins' for further details on project dependencies & plugins used. Change DB URLs in 'application.conf' to run on your own system with you database configurations. ie; MongoDB database name in this instance is MscProject. ie; MySQL database name in this instance is mscproject. MongoDB running as service. Post number not important. Change root user and password to suit your own configuration. You will need a FitBit account with an app which grants access to this web service to access your health data. Use your FitBit token to access your FitBit data. Change this token information in the javascript files in this project to fetch your data from your own app, ie; 'public/javascripts/fetchHR.js' where 'token&client_id' = you own token. Built Using: ------------ Play Framework 2.5 Scala SBT 'build.sbt' project. Reactive Mongo driver. Asynchronous Non Blocking MongoDB I/O. MySQL 'application.conf' ignored by GitHub: ------------------------------------- mongodb.uri = "mongodb://localhost/MscProject" play.modules.enabled += "play.modules.reactivemongo.ReactiveMongoModule" mongo-async-driver { akka { loglevel = WARNING } } db { default.url = "jdbc:mysql://localhost/mscproject?autoReconnect=true&useSSL=false" default.driver = com.mysql.jdbc.Driver default.username = root default.password = "yourPassword" } ebean.default="models.*"
About
Play Framework web service using FitBit api and reactive-mongo.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published