Giter Club home page Giter Club logo

doctors-pa's Introduction

doctors-pa

Open development of in patient task management application

This is a MongoDB and Node.js application using Socket.io and Express

To run it you have to have NodeJS and MongoDB installed on the machine. Just extract it and run it like any other ExpressJS app (execute 'node app'). It will listen o port 3000 and will connect to the local MongoDB and create a "smart ward" namespace.

Before we start it we have to create some users. With your favorite text editor open app.js and go to line 57 and 58. These are the routes to the pages responsible for adding new users. Remove the user.restrict_admin middleware calls so we can access the pages to create the first users.

The lines should look like this: app.get('/admin/users/add', users.admin.add); app.post('/admin/users/add', users.admin.add.post);

Start the app. Go to /admin/users/add and create a few users of each type: administrators and regular ones. Stop the app.

Restore the previous lines to their original state and start it again. Log in with one of the administrator users. Create some wards and beds. Log out.

Log with one of the regular users. Go to Patients -> Add (or /patients/add). Add patients. Browse around the app.

doctors-pa's People

Contributors

chrisclarke1977 avatar

Watchers

Carl Reynolds avatar James Cloos 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.