Activity

Deepit

IDK WHERE THE HOURS ARE GOING BRO (prolly lots of debugging (i make a lot of spelling mistakes 🥀🥀)!!!

Worked on the Select Role page and finally gave users a way to actually choose what they are (customer, rider, seller)
Built the UI using React + Vite and connected it to the backend endpoint for updating roles. Once a user selects a role, it sends the request, updates it in the database, and refreshes auth state on the frontend.
Also made sure protected and Public routing works properly so users are forced to pick a role before accessing the app.
And now im starting of work on navbar…

Attachment
0
Deepit

First of all, idk why, but I decided to start with the backend of the project instead of frontend..
and Im really trying to take this project to industrial lvl (its my first time), hence taking 3 hours to get auth started..
In these 3 hours, I worked on the Zenvy auth service and got it to a point where it actually does something useful now. Built a login/signup flow that creates users if they don’t exist and returns a JWT. Also added protected routes to fetch user data and update roles (customer, rider, seller).
End-to-End Google OAuth has also been setup.. Full login system coming together nicely..

Set up auth middleware, basic error handling, and connected everything to MongoDB with a clean User model.
I am using React and VITE for frontend..
Overall, auth is in a good place. Now I guess ill be building some more frontend or mb not

0