/healthiers

A unified and safely accessible home for your medical records. Sometimes soon.

Primary LanguageJavaScript

healthiers Build Status

A unified and safely accessible home for your medical records. Sometimes soon.

installing

Currently installation is only possible for development. The things you'll need:

Once you downloaded and installed these, it's time to clone the repo

git clone https://github.com/healthiers/healthiers.git

Now change to the cloned directory

cd healthiers

You can see the most important directories of the project: client and graphql-server

It's time to install the NPM dependencies in the root folder and both client and graphql-server - note that on windows you might have to do these as separate commands, the && might not work.

npm install
cd client && npm install && cd ..
cd server && npm install && cd ..

Now everything should be properly installed, you can start and initialize your database.

Run this in the root folder:

npm run init-db

The app is ready to be run

npm run start-dev

This command will start 3 processes:

  1. The database (RethinkDB)
  2. Automatic watching and updating of the server
  3. Automatic watching and updating of the client

You can access the running application using

  1. http://localhost:3000 - (client)
  2. http://localhost:3000/explore - (gui for exploring the GraphQL API)
  3. http://localhost:3000/api - (the GraphQL API itself)

used technologies

overall

  • babel - to transform our ES6/2015/Whatever code to ES5
  • eslint - to ensure code quality and prevent code smell
  • jest - for running tests

server

  • express - for serving content
  • graphql - for creating easy to use endpoint for our data
  • jwt - for authentication (TODO this needs a lot of work to make it truly safe)

client

how can I help?

Since the project is in a very early phase, feel free to post any ideas or issues on the issues page or start working on one of the existing issues that is not assigned to anyone