Skip to content

chrisvrose/bdrec

Repository files navigation

bdrec

What

A simple PWA(Progressive Web App) to log your body temperature (and other vitals)!

Check out the PWA at bd.kekvrose.me! Once its loaded, you can "install" it on your phone and it'll work completely offline.

Why

I have this habit of logging my temperature whenever I get sick. I used to do it in notebooks, but when I tried switching to an Android app, I found none that didn't have ads or didn't request access to contacts (? what)

How

This is a Next.js project bootstrapped with create-next-app.

It's available at bd.kekvrose.me and uses IndexedDB to store data and localStorage for preferences.

The PWA allows for it to be installed on most mobile devices and not consume insane amounts of storage and network.

Once loaded, the pages are available offline and because it uses client-side storage, no data is shared anywhere and no internet access is required.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Exporting

The app is deployed onto Github Pages with:

npm run deploy

This does a few things

  1. Lints the project
  2. Builds the project
  3. Exports the project as a static HTML5 application
  4. Publishes the exported static webpage onto Github Pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository.

About

Log vitals in a offline-first PWA

Topics

Resources

Stars

Watchers

Forks