A rebirth of my popular medication tracking app for people living with hemophilia. Available for free at hemolog.com
- Free to use
- Not sponsored by any person or company
- Open source
Hemolog is free but if you'd like to Donate, that would be awesome.
Insights are something that I always wanted to be apart of Hemolog, and now they're finally here.
These insights are calculated as you add more data. Filters will allow you to choose different time frames for viewing your data down the road giving you the best most comprehensive view into your treatment history ever. I've chosen a few stats that are interesting for me. If you have thoughts on what you would like to see just let me know.
Allows emergency personnel to scan or visit the link written on your emergency card to quickly get all the crucial information they need.
Create an account and fill out the profile before printing yours out today.
Hemolog was the first iPhone app available for hemophiliacs back in 2011. It has since been removed from the App Store since focusing on other projects meant that I couldn't keep it updated.
I initially designed Hemolog for myself. I was in college at the time and had been building websites and web apps for friends and family, along with the odd job here and there.
Hemolog meant the world to me and I'm glad it was able to serve people well for the 4 years it was on the App Store. But this year (2020), I decided to take another crack at it. The first version never really lived up to what it was suppose to be. The most important part of having data in a digital format is the ability to quickly gain insights from it. The first version didn't have any built in analytics or stats. This time around, I've made that the number one priority.
I hope you find Hemolog useful and friendly to use. Or, if you don't have a bleeding disorder like hemophilia, perhaps you find this project interesting none the less.
You'll need Node and Yarn installed before you can run the app. Check the package.json for corresponding version numbers.
You'll also need to start the Firebase emulators which run in a separate process. Open up a terminal window and run
yarn firebase
Then open another terminal window/tab and run the development server (Nextjs).
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can also open http://localhost:8081 to see the Firebase emulators and the corresponding data. Hemolog uses Auth for authentication via Google (which is faked when running locally) and Firestore for hosting your data. You can manipulate your data via this interface as well.
After you're up and running, start editing the landing page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
The easiest way to deploy Hemolog is to use the Vercel Platform from the creators of Next.js.
Added in June 2021. The Hemolog.com API allows anyone with an account to access their data via REST endpoints.
- recent-treatments (most recent 3 treatments)
- treatments (all treatments)
- log-treatment (log a new treatment)
For example, recent-treatments returns the API key holders most recent treatments. Same as what is shown on the public emergency page. You can test this in the browser or using a cURL command.
curl -X GET \
'https://hemolog.com/api/recent-treatments?apikey=<your-api-key>' \
-H 'Accept: */*'