Skip to content

Latest commit

 

History

History

nodejs

Arduino Temperature and Humidity Data Viewer

To Do

  • remove old recipe whatnot
  • create model for temperature and humidity data
  • save data from Arduino into database
  • pull data from the database and display
  • make it pretty
  • socket.io updates

Development

Since this is a mix of a couple things, I have two terminals running watches: one running npm run dev and another running webpack --watch.

A sample database is located in /db/prod/dht. Load it into localhost Mongodb as dht.

D3

At the time of writing, D3 had just released v4 that is not backwards compatible with v3. I used this handy dandy guide to the API changes to make the switch.

Boilerplate Info

This app was built using the node express and mongoose boilerplate. (This is an example app using the boilerplate.) It was modified to use React templates in the backend and reorganized to share those templates with the frontend.

See boilerplate readme below.

Build Status Gittip Dependencies

Node Express Mongoose

A boilerplate application for building web apps using express, mongoose and passport.

Read the wiki to understand how the application is structured.

Installation and Usage

$ git clone https://github.com/madhums/node-express-mongoose.git
$ cd node-express-mongoose
$ npm install
$ npm start

Add routes (config/routes.js), create models (app/models/), views (app/views/) and controllers (app/controllers/).

Checkout the apps that are built using this approach

License

MIT