Automatically add reminders to Google Calendar for when medicine expires by scanning the data matrix
- Docker (On Windows: WSL enabled)
- VSCode with dev container extensions installed
- A free ngrok account
- A Google Cloud project
- (Windows: Clone inside WSL)
- Re-open in dev container
- Create a Google Cloud project, set up a consent screen, create api key and oauth2.0 client id
- Add your ngrok static domain to "Authorized JavaScript origins" under your client id and to "Website restrictions" under your api key
- Add your ngrok auth token:
ngrok config add-authtoken <your auth token>
- Install dependencies:
npm install
- Run webpack dev server:
npm run dev
- In a different terminal, start ngrok tunnel
ngrok http --url=<your static domain> http://localhost:8080
- Open <your static domain> in a browser
