HomeOps is a simple system to track home improvements, fixes, repairs, and todos in one place.
- Install deps
npm install
- Configure environment variables
Create a .env.local file in the root directory:
VITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-key-hereGet these values from your Supabase project settings.
- Run
npm run dev
- npm run lint
- npm run typecheck
- npm run test
- npm run build
Branch naming patterns:
feature/*- New featuresbugfix/*- Bug fixeschore/*- Maintenance tasks
These patterns enable AWS Amplify to automatically create branch previews for pull requests.
This repo is deployed as a static app with AWS Amplify.
Recommended: Manual Setup First
-
Connect Amplify to GitHub:
- Go to AWS Console → Amplify → Host web app
- Connect GitHub and authorize access
- Select your repository:
HomeOps(orhomeops) - Select branch:
main
-
Configure Build Settings:
- Build command:
npm run build - Output directory:
dist - Amplify will automatically use
amplify.ymlif present
- Build command:
-
Enable Branch Previews:
- Go to App settings → General
- Enable "Branch auto-creation"
- Add branch patterns:
feature/*,bugfix/*,chore/* - Enable "Automatic builds" and "Pull request previews"
-
Add Environment Variables:
- Go to App settings → Environment variables
- Add
VITE_SUPABASE_URLwith your Supabase project URL - Add
VITE_SUPABASE_ANON_KEYwith your Supabase anon key - These will be available to all branch previews
-
Verify:
- Push a commit to
mainbranch - should trigger a build - Create a
feature/*branch - should auto-create a preview
- Push a commit to