Back to Blog List
BLOG

Latest Blog

Admin User7/2/20261 Comments
We are starting a brand new Next.js project for the HelpBro CMS. The project folder already exists. Project Location: C:\Users\Adnan\Desktop\2026\HelpBro\CMS Initialize the project INSIDE this existing folder. ---------------------------------------------------- IMPORTANT Do NOT start coding immediately. First inspect my existing Admin Panel project and prepare a complete architecture report. Do not create duplicate functionality. Reuse existing APIs whenever possible. ---------------------------------------------------- Current Ecosystem 1. Flutter App - Used by technicians. - Consumes REST APIs from our Admin Panel. - Opens this CMS inside a WebView for blogs, tools and dynamic pages. 2. Admin Panel (Next.js) - Already completed. - Manages MySQL. - Generic REST API. - Authentication. - Media upload. - Generic CRUD. - Dynamic relation expansion. - Products. - Brands. - Guides. - Error Codes. - Parts. - Users. This CMS should consume the existing Admin Panel APIs instead of creating another backend. ---------------------------------------------------- AUTHENTICATION This CMS must NOT have public login. Only authenticated Admin users can access the CMS. Reuse the existing authentication system from the Admin Panel if possible. Requirements: • Admin login only. • Existing Admin credentials should work. • No registration. • No public signup. • Session management. • Protected routes. • Redirect unauthenticated users to Login. • Logout support. • Role validation (ADMIN only). • Managers or normal users should not access this CMS unless explicitly allowed later. ---------------------------------------------------- FIRST TASK Inspect the existing Admin Panel. Understand: • Folder structure • Authentication • REST API architecture • Database schema • Response format • Media handling • Generic CRUD • Relation expansion • Search • Pagination • Filtering • Existing reusable services Identify what can be reused instead of rebuilding. ---------------------------------------------------- SECOND TASK Create an Architecture Report. Include: • Folder structure • Routing strategy • Authentication strategy • Shared API strategy • Data fetching strategy • State management • CMS architecture • Blog architecture • Dynamic pages • Custom Tool architecture • SEO strategy • Mobile-first UI strategy • Deployment strategy • Future scalability ---------------------------------------------------- PROJECT GOALS This is not just a blog. It is the HelpBro Web Platform. It should support: • Blog • Guides • Documentation • Dynamic Pages • Categories • Tags • Search • Comments • Parts Information • Error Code Articles • Business Articles • SEO Landing Pages ---------------------------------------------------- CUSTOM TOOLS Some pages are code-driven instead of CMS-driven. Examples: • Comparator Simulator • OP AMP Simulator • PCB Interactive Tools • SMD Resistor Calculator • Through Hole Resistor Calculator • Invoice Generator • Estimate Generator • Job Reminder These should be implemented as custom Next.js pages while sharing the same layout, navigation and theme. ---------------------------------------------------- CONTENT TYPES The CMS should support multiple content types. Examples: • Blog • Guide • Documentation • Landing Page • FAQ • News • Announcement Future content types should be easy to add without major refactoring. ---------------------------------------------------- DESIGN Mobile-first. Primary users will open this inside the Flutter app through WebView. The UI should feel like a native mobile application. Desktop should remain responsive and clean. ---------------------------------------------------- IMPORTANT Think long-term. Everything should be modular, reusable and scalable. Avoid hardcoding. Do not duplicate existing backend logic. Reuse existing APIs whenever possible. ---------------------------------------------------- DO NOT WRITE CODE YET. First analyze the existing Admin Panel and prepare a complete implementation plan. Only begin implementation after the architecture has been reviewed and approved.

Comments (1)

Md Adnan7/2/2026

SSS

Post a comment