Code Monkey home page Code Monkey logo

phn-qol-survey's Introduction

#PHN Quality of Life Survey The PHN Quality of Life Survey is an Express-based web application developed for Pharmacy Health Networks Queensland, allowing patients to submit a specialised version of the World Health Organization Quality of Life (WHOQOL) survey online.

It has been developed for ease-of-use and availability, with support for various device types using responsive HTML/CSS technologies. This application is designed to be hosted in a Node.js environment, with a publically-accessible URL.

Architecture

This application is built using Express.js for data storage and retrieval, along with React for view management on the client-side.

Sitemap

This is a work-in-progress and so is likely to change often.

Sitemap v1.2.0

Sample React Webpack

A sample Webpack configuration based on Christian Alfoni's early implementation. It offers a simple build with React, SASS and deployment in place. This will eventually be replaced with Express.js.

Installation

NPM to the rescue. Although there are some requirements: Node.js and bower.

npm install

Development

Webpack has been configured to offer hot-loading of modules, and should work for SCSS, and JS alike (including JSX, for which we're just using the .js file extension rather than .jsx). JavaScript language ES2015 is enabled thanks to Babel. To get started, simply run the script:

npm run dev

A version of the site will be running on http://localhost:8080 if everything goes smoothly.

Deployment

This example also features some early work on deployment preperation. The following script will run the deployment process, placing the relevant files in ./dist/.

npm run deploy

This will perform a full compilation by Webpack into sensible bundles, ready for delivery via HTTP. The file ./dist/index.html (currently static) should will load the app in your browser, but you'll need to use a web server. If you have python installed, you may fire up a light web server within the ./dist directory and start interacting with the app.

License

Copyright (c) Patternworks, All rights reserved Unauthorised copying of this file, via any medium is strictly prohibited. Proprietary and confidential. Written by Kashi Samaraweera <[email protected]>, 2016.

phn-qol-survey's People

Contributors

callumflack avatar kashisau avatar

Stargazers

Marc Heatley avatar

Watchers

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.