gokulkrishh / expense.fyi

Effortlessly track and manage expenses on-the-go with categorisation and logging.
https://expense.fyi
GNU Affero General Public License v3.0
618 stars 86 forks source link

Site doesnt work locally :/ #110

Closed Aaditya-T closed 3 months ago

Aaditya-T commented 3 months ago

So am trying to run the site locally, i have set all env variables except these ones:

image

and i have set the public url to http://app.localhost:3000 (i have tried setting it to localhost:3000 as well)

and whenever i try to signup, it just keeps me at homepage instead of logging into the dashboard. I manually added my email to the db and when i try signing in, then also it just keeps me at homepage, why?

One pattern i noticed is that while signing up for official expenses.fyi - it redirects to app.expenses.fyi meanwhile my local link had a redirect to loccalhost:3000 (in the magic link sent in email).

gokulkrishh commented 3 months ago

@Aaditya-T Oh i see, make you sure you have set the URL config in supabase for app.localhost:3000. Here is screenshot for reference.

Screenshot 2024-04-07 at 8 44 45 AM
Aaditya-T commented 3 months ago

Thank you! it works now 🎉