Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.5 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.5 KB

RFID

A spring boot app to optimize clinical workflow using RFID technology

Introduction

This app takes http posts from the ThingMagic RFID reader and persists them in a MySQL database. The reader software invokes a service to write events every n seconds. Each event is a tuple consisting of(readerName,EPC,timeStamp,peakRSSI,readCount).

From these raw events, presence and co-presence information is derived for patient subjects and providers.

Development Environment Setup

Git Installation

Windows - https://git-scm.com/download/win

OSX - Use homebrew followed by $ brew install git

Gui Tool

Please note that STS includes a git tool within the IDE. See http://www.eclipse.org/egit/ for additional documentation.

Create rfid database after mysql setup

Invoke the following scripts in sequence $ mysql < src/main/db/createdb.sql $ mysql -u rfid -p < src/main/db/schema.ddl.sql It will prompt for a password. Please configure your mysql password and update it in the following files

  • src/main/db/createdb.sql
  • src/main/resources/application.properties

Note that JPA is configured to autocreate & update the application database schema.