Skip to content

TheCoder5550/medicine-reminder

Repository files navigation

A calendar and a medicine bottle

Medicine reminder

Automatically add reminders to Google Calendar for when medicine expires by scanning the data matrix

Development

Requirements:

  • Docker (On Windows: WSL enabled)
  • VSCode with dev container extensions installed
  • A free ngrok account
  • A Google Cloud project

Install

  1. (Windows: Clone inside WSL)
  2. Re-open in dev container
  3. Create a Google Cloud project, set up a consent screen, create api key and oauth2.0 client id
  4. Add your ngrok static domain to "Authorized JavaScript origins" under your client id and to "Website restrictions" under your api key
  5. Add your ngrok auth token:
    ngrok config add-authtoken <your auth token>
  6. Install dependencies:
    npm install
  7. Run webpack dev server:
    npm run dev
  8. In a different terminal, start ngrok tunnel
    ngrok http --url=<your static domain> http://localhost:8080
  9. Open <your static domain> in a browser

About

Automatically add reminders to Google Calendar for when medicine expires by scanning the data matrix

Topics

Resources

Stars

Watchers

Forks

Contributors