Day 3

I did some more adjusting of the useAuth hook. It’s getting closer. I commented out all the functions except for the register one. I also updated the .env.local to point VITE_API_URL to the laravel backend.

In my first tests hitting the csrf endpoint, it returns a laravel error. That’s my next task.

SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "sessions" does not exist

Next steps

I’ll double check the database migrations, because it’s odd the sessions table is missing.