Devlog 4
-
So first of all I switched from using npm to pnpm and updated the docker file accordingly for the socket server.
-
Then I started working on adding users / db functionality in the nextjs app.
-
I created login and register page with two options for signIn -> google or guest.
-
I started tinkering with prisma and better auth and the prisma8 has just come so I started setting it up and had made the schema and had written up some services too but then when I tried to logIn i got few problems which I researched and searched and found out that betterAuth hasn’t adjusted to prism8.
-
So I did what I should have done before, I switched to drizzle. Around 3-4 or more hours were wasted!.
Now I’m using drizzle and have setup the schema and tables and also better auth in it and the signIn are working. -
Now I have to create routes or server Actions to retrieve data or send data. Now the games will be saved and stored once finished and user will able to see it in match history.