A simple grocery list web app built with vanilla HTML, CSS and JavaScript. It uses Supabase for user authentication and to store items in a shared table.
- Login using Supabase credentials
- Add items with relative timestamps
- Click items to select them
- Delete selected items or clear all items with a confirmation dialog
- Responsive design with custom fonts and icons
- Clone this repository.
- Provide your own Supabase project credentials in
user.js. - Serve the files from a local web server, e.g.:
or
npx serve .python3 -m http.server
- Open the served URL and log in using your Supabase user account.
If you are hosting under a different path adjust SITE_SUBPATH in consts.js.
The repository includes a GitHub Actions workflow that deploys the site to GitHub Pages from the main branch. It excludes the .github and supabase folders when publishing.
index.html– main applicationlogin.html– login formscript.js,login.js,db.js,user.js– application logicstyles.css– base stylingsupabase/migrations/– SQL scripts for the database