A unified and safely accessible home for your medical records. Sometimes soon.
Currently installation is only possible for development. The things you'll need:
- RethinkDB - https://www.rethinkdb.com/docs/install
- Node - https://nodejs.org/en/download
- NPM - (comes with node)
- Git - https://git-scm.com/downloads
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:
- The database (RethinkDB)
- Automatic watching and updating of the server
- Automatic watching and updating of the client
You can access the running application using
- http://localhost:3000 - (client)
- http://localhost:3000/explore - (gui for exploring the GraphQL API)
- http://localhost:3000/api - (the GraphQL API itself)
- babel - to transform our ES6/2015/Whatever code to ES5
- eslint - to ensure code quality and prevent code smell
- jest - for running tests
- 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)
- react - for managing the UI
- redux - for predictable state management
- redux-observable - for predictable sideeffect
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