Code Monkey home page Code Monkey logo

takeyourmeds's Introduction

Take Your Meds

Reminds people to take their medication.

Installation

Prerequisites

  1. Working node installation
  2. Working mongodb installation (follow relevant guide from http://docs.mongodb.org/manual/installation/)
  3. Nodejitsu account (or other node + mongodb hosting solution, must have an accessible internet url in order for twilio to work. Sign up for nodejitsu at https://www.nodejitsu.com/)

Set up

Assuming you have installed node and mongodb correctly and can execute the node command and have a mongodb daemon running (try running the command line mongo client, if that doesn't work, try starting the daemon mongod)

  1. Install npm packages. At project root directory run npm install.
  2. Make sure the mongodb daemon is running (try using the command line mongo client, if that fails start the daemon using mongod or sudo service mongodb start on ubunu.
  3. In project directory run node express/install.js, this interactive script tells you it will install some base dummy data to get your started. Press enter when asked.
  4. If step 3 went ok, you should see some output in the terminal about the objects that were inserted in the database. You may need to copy the _id field of the patient, in the client router index (public/js/router.js index function), there is some code to fetch a patient by id. Paste the id of the patient that was inserted into the database here so the index function will work.

Running the server

  1. Run node express/app.js, this starts the express server and listens by default on localhost:8080.
  2. Go to http://localhost:8080 on a browser and you should see the login page.
  3. Log in with the default user credentials [email protected] with pass takeyourmeds

takeyourmeds's People

Contributors

chrismcband avatar

Watchers

 avatar

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.