
Key Features
- Email & Social Authentication (Google, GitHub OAuth)
- Category-based news browsing with dynamic routes
- Protected article content with guest previews
- Scrolling headline marquee and responsive news grids
- User profile management with inline updates
- Custom 404 pages and loading states for better UX
Challenges Faced
Implementing secure server-side route protection and seamlessly integrating Google and GitHub OAuth providers. Managing complex session states and ensuring secure access to protected news content was a significant learning curve.
Future Improvements
Adding a comprehensive search feature with keyword filtering, user bookmarks for saving articles, and an editorial dashboard for news management. Implementing pagination and personalized news recommendations.
Tech Stack
Next.js
TypeScript
Tailwind CSS
DaisyUI
Better Auth
MongoDB Atlas