Mega Admin Panel
Mega Admin Panel is the private workspace behind my portfolio. I use it to publish content, understand what visitors read, and keep the site running. It began as a blog editor and grew into a web dashboard and mobile app for managing shariardev.com and all the other services.
Why I built it
A blog editor was enough when I only needed to publish articles. As the portfolio grew, I also needed to organize projects and media, manage public links, moderate comments, and find out what people opened after I published. When those tasks lived in separate tools, it took extra work to connect a published article to its readership.
I wanted to be able to follow a piece of content through its whole life. I could start a draft, share it for review, publish it, then come back to the same workspace to see whether it reached readers. I also needed to delegate editing without giving every editor permission to delete content or change settings.
From draft to public page
The Blogs screen is where I find and manage articles. I can filter by status, category, or featured status, group related posts into a series, and reorder articles in the portfolio. The dashboard also gives me quick access to projects, Whispers, Newsletter, Guestbook, and other modules through the sidebar and keyboard command palette.
When an editor writes a post, they can pick a cover from the Media Library. Image uploads are converted to WebP. The API checks permissions and saves the article in PostgreSQL. The public Next.js application uses incremental static regeneration and revalidation so the published page can update while retaining the benefits of static rendering.
For an unpublished article, I can share a private preview link that expires after one minute. Redis holds the temporary preview data, and the preview is kept out of search indexing. That gives someone a chance to review the rendered page before I publish it.
Editing the public link page
The Linktree editor puts style settings and a live preview side by side. I can start from a theme preset, then adjust the background, colours, typography, buttons, or layout. The phone and desktop preview controls let me inspect the design as I edit, and I can save a design as a preset for reuse.
What happens after I publish
I built two views because I ask two different questions. Analytics shows visits, unique visitors, and where people came from across 7, 30, or 90 days. Portfolio Stats shows which articles and projects people opened and how those views changed over time.
I count a visitor once per post or project per day. If someone reloads an article three times on the same day, it still contributes one daily unique view for that article. If they return on another day, that day can contribute another view. This gives me a better signal for comparing content across the same period.
In the 30-day snapshot shown here, the portfolio recorded 155 visits from 125 unique visitors, with 56 post views and 17 project views. These figures describe one reporting window.
Community, subscriptions, and access
Readers can sign in with Google to comment, vote, react, or reply in threads up to three levels deep. Reports, banned-word filters, and link limits help surface comments that need attention. I can hide or delete comments from the web dashboard or the mobile app.
Newsletter readers sign up with an email address and can unsubscribe in one click. When an address bounces, the system flags it and sends me a Telegram notification so I can follow up.
Permissions are enforced by the API. An Editor can create and update content, while deletion requires its own permission. The role screen shows assigned users and granted permissions. Sensitive actions ask for confirmation, and the audit trail records who performed important actions. Deleted items go to Trash and can be restored before permanent removal after 90 days.
Admin accounts can require an emailed sign-in code. On mobile, fingerprint or face unlock can be enabled per device, and device access can be revoked from the dashboard.
How the system fits together
Public portfolio · Next.js
Renders published pages and refreshes them through revalidation.
Admin dashboard · Next.js
Provides editing, moderation, analytics, and settings.
API · NestJS, TypeORM, PostgreSQL
Handles business rules and permissions. Data is split across PostgreSQL databases for administration, the portfolio, and forms.
Mobile app · Expo
Provides push notifications, analytics, and comment moderation when I am away from my desk.
Redis supports visitor tracking, caching, and temporary preview data. RabbitMQ moves email, Telegram, and push notification delivery into background jobs. A request can finish without waiting for an external messaging service to respond.
Separate applications let me work on the dashboard and public portfolio independently. The parts that need the most care are where they meet. An API response can affect multiple clients, and a publishing change has to reach the public site through revalidation.
Keeping the site running
The System Health page gives me a shared view of the API, databases, Redis, RabbitMQ, email, Telegram, the public site, and disk space. It shows recent availability and the latest check for each service. Telegram alerts help me spot an outage even when the dashboard is closed.
What I learned
The publishing workflow taught me to think about how an edit moves from a database write to a visible change on the public site. Analytics taught me to define what a view means before building the chart. And access controls, recovery, and health alerts became more valuable once the dashboard was handling real content and more than one account could use it.
I now have a workspace where I can take an article from draft to publication, see what readers opened, and handle problems from the same project I built to publish it.
I hope you find it well, if you have any question about me, you can email me. Or you can give some feedback in one minute in the guestbook