You are browsing as a guest. Sign up (or log in) to start making projects!

51m 59s logged

Since the last update, I focused on turning the backend into a real authentication API. I created the User model and its migration, then added the auth service layer to handle registration and login logic. I also built a token utility with JWT so authenticated users can receive access tokens after signing in.

On top of that, I added an auth controller, auth routes, and a global error middleware to keep the API responses consistent. The main app was updated to use the new auth routes and the error handler, and the Sequelize setup was adjusted to load the shared config correctly.

0
2

Comments 0

No comments yet. Be the first!