Jananayakan
Analyze, Compare, Understand
The problem Jananayakan solves
The Problem We Solved
Modern online discussion platforms often suffer from low-quality engagement, shallow reactions, and poor transparency. Users can upvote or downvote content without context, making it difficult to understand why a post is supported or opposed. At the same time, many platforms are either too complex, overloaded with features, or not optimized for lightweight, beginner-friendly environments.
Additionally, building a fully dynamic, interactive platform without relying on heavy frontend frameworks is a real challenge for students and early developers. Most example projects use mock data or frameworks, which do not reflect real-world full-stack development.
🔍 Key Problems Identified
Lack of Meaningful Feedback
Traditional voting systems allow users to react without explanation, leading to unclear or misleading engagement metrics.
Poor Readability and Engagement in Feeds
Many platforms do not present posts and comments in a clean, conversational format, reducing user interaction and clarity.
Overdependence on Frameworks
Beginners often rely on frameworks, which hides core concepts like state management, DOM updates, and API integration.
Disconnected Frontend and Backend
Sample projects frequently lack real backend integration, making them unrealistic and not production-like.
Unstructured and Outdated UI
Existing solutions often lack modern UI/UX while also failing to maintain cultural or thematic identity.
Challenges we ran into
- Connecting Frontend and Backend Smoothly
One of the main challenges was integrating the Express backend with a pure HTML, CSS, and Vanilla JavaScript frontend. Since no frameworks were used, handling API calls, authentication state, and dynamic UI updates required careful planning and clean JavaScript logic.
- Managing Application State Without Frameworks
Keeping the feed, votes, comments, and stats in sync without React or similar libraries was challenging. Every user interaction (upvote, comment, new post) had to update multiple views dynamically, which required reusable render functions and proper state management.
- Designing a Dynamic Feed System
Initially, the feed used mock data. Replacing it with real backend data while maintaining performance and responsiveness was complex. Handling asynchronous data fetching and ensuring the UI updated correctly without page reloads was a key challenge.
- Implementing Reason-Based Voting
Adding a requirement where users must provide a reason before upvoting or downvoting increased complexity. The challenge was validating inputs, sending structured data to the backend, and displaying vote reasons in a clean, non-intrusive way.
- Building a Comment System From Scratch
Creating a YouTube-style comment section without any libraries was challenging. Making comments readable, collapsible, dynamically added, and mobile-friendly required careful DOM manipulation and UI/UX decisions.
- Maintaining a Clean and Modern UI
Achieving a polished, modern look while preserving the Indian tricolor gradient was not trivial. Balancing aesthetics with readability, responsiveness, and performance required multiple design iterations.
- Authentication Flow and Route Protection
Handling login, logout, and protecting dashboard routes on the frontend (without frameworks) was challenging. Ensuring unauthorized users could not access protected pages required careful use of localStorage and conditional redirects.
- Error Handling and User Feedback
Handling backend failures, network issues, and invalid inputs gracefully was a challenge. The system had to display meaningful feedback without breaking the user experience.
- Mobile Responsiveness
Designing the dashboard to work smoothly across mobile, tablet, and desktop screens—especially with a bottom navigation bar—required careful CSS layout decisions and extensive testing.
- Keeping the Code Maintainable
As features grew (posts, votes, comments, stats), keeping the code readable and modular without overengineering was a challenge. This was solved by separating concerns and using clear function-based logic.