Skip to content

health-records-js is a simple web app to store and visualize health records.

License

Notifications You must be signed in to change notification settings

nicklepickle/health-records-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

health-records-js

health-records-js is a simple web app to store and visualize health records. It is based on health-records-pg which uses a Postgres batabase for the backend. This version is implemented as a pure node app with no external (non-npm) dependencies. It does not support concurrent users due to the use of the default session store.

Plotty.js is used to plot graphs of the daily records.

Not included in this repository is the config.js file at the root of the project. Below is an example of what this file should contain.

module.exports = {
  data: {
    root: __dirname + '/data',
    users: __dirname + '/data/users.json'
  },
  server: {
    approot: __dirname,
    port:8300
  },
  session: {
    name: 'session', // name of session cookie
    maxAge: 30 * (24 * 60 * 60 * 1000), // 30 days in ms
    key: 'x3au15726p'
  }
};

About

health-records-js is a simple web app to store and visualize health records.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published