Last week, I finished most of the editing for v5.0 of the JHipster Mini-Book. I started updating the book in early August and updated the book's example app along the way. It took me just over two months to update all the chapters and example code. I'm pumped to say the majority of the tech edits for v5.0 are complete!
My author {@mraible} finished editing my 5.0 version last night. Once @InfoQ finishes copy-editing, I'll be released! 🎉
— JHipster Book (@jhipster_book) October 12, 2018
Since the book seemed mostly finished, I turned my attention to deploying the book's real-world example app, 21-Points Health. The upgrade took me a few hours to complete, and my instructions from last time came in handy. The biggest thing I missed last time was to document that I needed to change the table owners after downloading from Heroku, which is the reason I'm writing this post.
Note to self: here are the abbreviated steps for upgrading a Heroku database between JHipster releases:
heroku pg:pull HEROKU_POSTGRESQL_GRAY_URL health --app health-by-points reassign owned by <your username> to TwentyOnePoints;; update databasechangelog set md5sum=null; delete from databasechangeloglock;
Then change the "prod" profile to use the "health" database and start with ./gradlew -Pprod.
I was super pumped when I got it all deployed!
Wahoo! 21-Points Health 5.0 has been released to production! 🎉🎊
— Matt Raible 🎃 (@mraible) October 14, 2018
❤️ https://t.co/e3wmVa8gHs
Built with @java_hipster 5.4.2, deployed on @heroku. Release available on @github > https://t.co/RpamFkQ1gH #jhipster #infoq #minibook pic.twitter.com/QJNK6kWjPU
Shortly after, I discovered a few minor issues. I also added PWA support, so I can experience first-hand what it's like to use a JHipster-generated PWA. I released 21-Points Health v5.0.1 this morning.
To verify it's a PWA, I audited it with Lighthouse. It currently gets a 💯 PWA score, but needs some work on performance. I've created an issue to track this.
Calendar Usability Improvements
In addition to upgrade to JHipster 5.4.2, I also made some usability improvements to its calendar feature. I added a "Show Notes" button and turned off notes by default. I also made it possible to add new points by clicking on an empty date. You can see a screenshot of my calendar below. You might notice I haven't been killing it on points lately. I blame that on too much travel and Rocktober.
See 21-Points Health in Action
You should be able create an account on www.21-points.com and start monitoring your own health. If you tried this over the weekend, you might not have received an activation email because I forgot to integrate SendGrid. Send me a DM on Twitter and I'll get this fixed for you. If you have activated your account and you're still getting an error, it's possible the database sequencing problem is happening again. If you find any additional problems, please enter an issue.
In the meantime, you can clone the project from GitHub and run it locally:
git clone https://github.com/mraible/21-points.git cd 21-points ./gradlew
Login with admin/admin or user/user and you can start tracking your daily health.

