AdventOfProgress Day 20

I thought the task for this day would be easier. But using a username for sign-in is quite challenging to implement with Supabase. :/

Now I have a new table for profiles, besides the auth table Supabase provides. Because Supabase Auth can't handle sign-in with a username, I now also have an edge function running. Which I never used before. It works, so I don't complain. :)

Maybe this is something you normally don't need for an MVP, but I was tired of typing an email for the sign-in. So, for me, it needs to be in the MVP.

When I was done, I staged my changes, and I noticed that I accidentally committed my .env file. So I used git-filter-repo to remove the env file from git history. What I did not know was it removed all my staged changes without a warning. 😱 That was a shock. A big one. After some minutes walking through the house, I calmed down and sat back on the chair. I was able to rescue around 85% of the files. The rest I could reproduce somehow.

WHAT an evening! I'm back on track and happy the accident was not that bad.

👋


78 of #100DaysToOffload
#log #AdventOfProgress
Thoughts? Discuss...