URL: https://lovable.dev/projects/4f11452d-2715-4234-9262-39e60794cb21
There are several ways of editing your application.
Use Lovable
Simply visit the Lovable Project and start prompting.
Changes made via Lovable will be committed automatically to this repo.
Use your preferred IDE
If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable.
The only requirement is having Node.js & npm installed - install with nvm
Follow these steps:
# Step 1: Clone the repository using the project's Git URL.
git clone <YOUR_GIT_URL>
# Step 2: Navigate to the project directory.
cd <YOUR_PROJECT_NAME>
# Step 3: Install the necessary dependencies.
npm i
# Step 4: Start the development server with auto-reloading and an instant preview.
npm run devEdit a file directly in GitHub
- Navigate to the desired file(s).
- Click the "Edit" button (pencil icon) at the top right of the file view.
- Make your changes and commit the changes.
Use GitHub Codespaces
- Navigate to the main page of your repository.
- Click on the "Code" button (green button) near the top right.
- Select the "Codespaces" tab.
- Click on "New codespace" to launch a new Codespace environment.
- Edit files directly within the Codespace and commit and push your changes once you're done.
This project is built with:
- Vite
- TypeScript
- React
- shadcn-ui
- Tailwind CSS
Frontend typing is driven by generated types from the live public schema (src/types/supabase.ts). To avoid schema/type drift after DB changes, regenerate with:
npm run gen:typesRequires the Supabase CLI and a linked project (supabase link), or run the generator manually with your project ID and redirect output to src/types/supabase.ts.
Simply open Lovable and click on Share -> Publish.
For sign-up, email confirmation, password reset, and invites to work for users on your live Vercel app:
-
Vercel
- Project → Settings → Environment Variables
- Add: Name
VITE_APP_URL, Valuehttps://property-task-pro.vercel.app(or your actual Vercel URL; no trailing slash) - Apply to Production (and Preview if you use preview deployments)
- Redeploy the project (env vars are baked in at build time)
-
Supabase
- Dashboard → your project → Authentication → URL Configuration
- Site URL:
https://property-task-pro.vercel.app(same as above) - Redirect URLs: add these (one per line or comma-separated, depending on UI):
https://property-task-pro.vercel.app/verifyhttps://property-task-pro.vercel.app/loginhttps://property-task-pro.vercel.app/accept-invitationhttps://property-task-pro.vercel.app/**(wildcard is optional but covers any path)
- Save
-
Invite emails (optional)
If you use the invite-team-member Edge Function: Supabase → Project Settings → Edge Functions → set secretSITE_URLtohttps://property-task-pro.vercel.app
After this, users who sign up or reset password on the Vercel app will get email links that open on your Vercel domain, not localhost.
Yes, you can!
To connect a domain, navigate to Project > Settings > Domains and click Connect Domain.
Read more here: Setting up a custom domain