This project is done by two students at National
University of Singapore as part the requirement of module CS3249 User Interface Development
.
Presentation Sildes: https://docs.google.com/presentation/d/1ja8LfKcjXpOIG2-0BUnrUiycUEPg7XZmzNMtrTGJ1fo/edit?usp=sharing
Get yourself a copy of the project and follow the instructions below to run on your local machine for development and testing purposes.
-
Open the
Terminal
. -
cd
to the project foldercs3249_project
. -
Type the command
meteor npm install --save
to install dependencies. -
Once done, type the command
meteor
in the terminal to start the app.
If this is your first time running the app, be sure to follow the instruction below on how to load the database before continuing.
Problem with Meteor-MongoDB? Run 'meteor reset' and then try to run the app again!
-
After project is set up and running, open your browser and go to
http://localhost:3000
. -
The interface of the application should be displayed on the page.
- Open the Meteor-MongoDB console using one of the methods below (make sure that the app is running):
WINDOWS_meteor_mongo.bat
for WindowsMACOSX_meteor_mongo.sh
for Mac- Open another terminal and type the command
meteor mongo
.
- Type the command
load('server/script.js')
into Meteor-MongoDB console. - Close the console.
This is a single page web application, written in ReactJS
and deployed using Meteor
.
There are three major components:
- A tool panel consists of
start & end time field
to set viewport and aslider
for adjusting sample number used in the graph. - An interactive graph of historical temperature data.
- The floor plan of rooms where data are collected from.
Tool Panel
start time field
is used to set the minimum value on x-axis of graph.end time field
is used to set the maximum value on x-axis of graph.slider
is used to adjust the number of samples used in the graph.
Interactive Graph
- The graph is implemented using
CanvasJS
. - It supports user actions:
zoom
,pan
andreset
.
Floor Plan
- SVG format.
- Support toggle the visibility by clicking on the room.
- Colour of the room changes according to the average temperature from data points currently displayed on interactive graph.
- Zhuang Xinjie
- Marawin Chheang