Chattera – Today’s Summary
Bug Fixes (Backend):
-Server Crash: Fixed UserSchema typo, so Node.js starts now.
-500 Registration Error: Imported bcrypt, password encryption now works.
-Empty Data: Activated express.json(), so the server can see the fields sent from the frontend.
-Code Cleanup: Cleaned up the server.js structure, API and Socket.io are separated.
New Features (Frontend & Backend)
-Login: /login route is ready (user verification + password comparison).
-F5 Protection: Connected the code to localStorage. You will stay logged in after a page refresh.
-Logout: The button now clears the memory, allowing you to log out safely.
-Theme Switcher: Added ☀️ Light / 🌙 Dark mode button to the login interface, which remembers the selected theme even after updating.
Comments 1
This is really impressive
Sign in to join the conversation.