Giter VIP home page Giter VIP logo

germtheorywebapp's Introduction

Welcome to Germ Theory

======= Germ Theory is an application that provides real time, individualized risk assessments related to disease outbreaks. The Germ Theory Mobile app offers an interface for users to examine known outbreak locations in their neighborhood, view their risk of infection based on where they have been, and get information about common diseases.

On the web, Germ Theory leverages its vast data sets to give public health officials administrative privileges to interpret and analyze disease data. A simple command can determine the risk of infection based on user locations. Germ theory uses a unique algorithm to index risk and deliver compelling risk assessments.

Getting Started

Contributors can get started by cloning down a forked version of this repo and starting up the server. From the root directory, run node server/server.js. Head over to localhost:4568 in your browser and you should be able to log in to the administrative console.

For mobile app development, all files are included in the mobile folder. Please read the Contributing.md Guide before contributing to the project.

Stories in Ready Build Status

Deployment

Germ Theory is deployed at germ-tracker.herokuapp.com, and a web version of the mobile application can be accessed at germ-tracker.herokuapp.com/mobile. Germ theory employs CI using Travis.

These Links help guide the development process:

MockUps: http://app.mockflow.com/view/c084b15788a473968bef6ec9e02d8af0

Wiki: https://github.com/germTheory/germTheoryWebApp/wiki

Project Management: https://waffle.io/germTheory/germTheoryWebApp

Design Docs: https://docs.google.com/document/d/135PdnF0FdMeehDu25nNPRnJEHLl9OSmO2EipeA_Na1c/edit#

User Stories: https://docs.google.com/document/d/1_BBiNO51BEFXVirKUsJ-8znS5S9rojXj0L2-Dn4ZEJA/edit#heading=h.kcyl8uoxaf1r

Backend Architecture: https://docs.google.com/drawings/d/1jIBYO7971A-1jMBo82LZezsNc2QeNhZ7j8QhRv1ChH4/edit

germtheorywebapp's People

Contributors

jamesongamble avatar jjmerino avatar rstellar avatar ryojiosawa avatar suprbh avatar waffle-iron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

germtheorywebapp's Issues

Restructure server file to better accomodate Sequelize

Proposed server structure:
/server
/configs
serverConfig.js
/models
db.js -- this includes schema definition and model methods
/controllers
UserController.js
LocationController.js
/routes
UserRoutes.js
LocationRoutes.js
/public
/views
--view templates should be here
/specs
/server
/mobile

DB table names should be all lowercase

In PostgreSQL, if table names are not defined in all lowercase, you need to enclose the table names with quote when referencing the table name in SQL statements (ie., select * from "Users"). Otherwise, you'll get "ERROR: relation "xxx" does not exist" error.

Enclosing table name with quotes can be a real pain, especially when you're debugging in psql or pgAdmin. Please change the name of our tables in all lowercase.

Build error: SyntaxError: Unexpected token )

@suprbh - the build is failing in my localhost, and the error is coming from the following line. Can you pls fix it asap?

/Users/rosawa/dev/HR/germTheoryWebApp/server/config/dbConfig.js:46
.inTable('users'));
^
SyntaxError: Unexpected token )
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/Users/rosawa/dev/HR/germTheoryWebApp/server/locations/locationModel.js:1:79)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

@kmeurer, @jjmerino, @jamesongamble

(feat) Provide special fever/home-quarantine tracker

From Eric Ding

A special fever/home-quarantine tracker that you can use (if you returned from ebola-endemic areas for example) that you can prove to people that you had carefully self-quarantined yourself successfully.

Some companies I've spoken with would say they might ask their returning field workers to use it to show they stayed home.

BUG: .config/dbCreds.js file not found

Here is the stacktrace:

state changed from starting to crashed
2014-11-05T23:05:38.700780+00:00 heroku[api]: Deploy 8bc673f by [email protected]
2014-11-05T23:05:38.700780+00:00 heroku[api]: Release v11 created by [email protected]
2014-11-05T23:05:39.058165+00:00 heroku[web.1]: State changed from crashed to starting
2014-11-05T23:05:41.665660+00:00 heroku[web.1]: Starting process with command node app.js
2014-11-05T23:05:43.280214+00:00 app[web.1]: throw err;
2014-11-05T23:05:43.281840+00:00 app[web.1]: Error: Cannot find module './config/dbCreds.js'
2014-11-05T23:05:43.281850+00:00 app[web.1]: at Object. (/app/server/server.js:3:15)
2014-11-05T23:05:43.281855+00:00 app[web.1]: at Module.load (module.js:356:32)
2014-11-05T23:05:43.280216+00:00 app[web.1]: ^
2014-11-05T23:05:43.281844+00:00 app[web.1]: at Function.Module._load (module.js:280:25)
2014-11-05T23:05:43.281853+00:00 app[web.1]: at Object.Module._extensions..js (module.js:474:10)
2014-11-05T23:05:43.281846+00:00 app[web.1]: at Module.require (module.js:364:17)
2014-11-05T23:05:43.281858+00:00 app[web.1]: at Module.require (module.js:364:17)
2014-11-05T23:05:43.281849+00:00 app[web.1]: at require (module.js:380:17)
2014-11-05T23:05:43.281856+00:00 app[web.1]: at Function.Module._load (module.js:312:12)
2014-11-05T23:05:43.281843+00:00 app[web.1]: at Function.Module._resolveFilename (module.js:338:15)
2014-11-05T23:05:43.281852+00:00 app[web.1]: at Module._compile (module.js:456:26)
2014-11-05T23:05:43.279821+00:00 app[web.1]:
2014-11-05T23:05:43.279935+00:00 app[web.1]: module.js:340

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.