Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
210

Latest Updates

Documenting code, one commit at a time.

React 10 posts
×

Securing Routes in Next.js: Implementing a Robust AuthGuard

The Problem

In our admin-ecommerce project, managing user access to sensitive dashboard routes was becoming increasingly complex. We needed a centralized way to ensure that unauthenticated users could not access private pages, preventing unauthorized data exposure and ensuring a seamless transition to login screens.

The Approach

To standardize access control, we implemented an

0 React JavaScript

Streamlining Sales Management with React Modals

The Challenge

Managing e-commerce sales operations requires quick access to data without navigating away from the main dashboard. We found that our administrative interface in the admin-ecommerce project was becoming cluttered, forcing users to jump between pages just to update order statuses or edit transaction details.

The Approach

We decided to implement a reusable modal architecture

Integrating Cloudinary with Next.js for Image Optimization

The Challenge

Handling media assets in an e-commerce platform like admin-ecommerce presents a significant challenge: balancing high-quality product imagery with fast page load speeds. Storing large images directly in the repository or serving them from a local server often leads to bloated builds and slow performance.

The Approach

To address this, we integrated Cloudinary into our Next.

0 React JavaScript

Improving User Safety: Building a Reusable Confirmation Dialog

In the admin-ecommerce project, we are constantly refining our admin interface to prevent accidental data loss. One of the most critical UI patterns in a CMS is the 'Delete' action. If a user clicks a delete button by mistake, they shouldn't immediately trigger a server request. We need a safety net.

The Problem: Accidental Deletions

Previously, our category management page lacked a

0 TypeScript React

Optimizing Modal Interactions for Real-Time Sales History

Managing sales data in a high-traffic e-commerce administration panel requires precise synchronization. Recently, we revisited our modal components in the admin-ecommerce project to address a specific bottleneck in how sales history updates were being handled.

The Challenge: State Synchronization

Previously, our sales modal operated on stale data snapshots. When a user triggered an update to

0 React

Automating Order Recovery: Implementing Failed Payment Cancellation

Handling payment failures gracefully is a critical part of the user experience in modern e-commerce. When a transaction fails, leaving the order in a 'pending' state indefinitely leads to data clutter and customer confusion. We recently updated the admin-ecommerce project to automate the cleanup process by triggering an immediate cancellation for orders associated with failed payments.

Scaling Admin Interfaces: Implementing Customer Management

Improving Data Management

In the admin-ecommerce project, we recently focused on enhancing our administrative dashboard to provide better oversight of our customer base. As our platform grows, managing user information becomes increasingly complex, necessitating a more robust and scalable approach to data presentation.

The Implementation Strategy

To manage our customer data, we moved

Structuring Beauty Appointment Systems for Scalability

Building a robust appointment management platform like the beauty-appointment-system requires a careful balance between modularity and maintainability. When dealing with complex scheduling workflows, the architecture needs to support growth without becoming a fragile house of cards.

Adopting a Modular Approach

In our latest updates to the beauty-appointment-system, we have focused on

Bootstrapping a Modern SaaS Frontend with Next.js

Starting the Project

Starting a new project is always an exciting phase in the software development lifecycle. For the crm-saas-frontend project, the initial steps focused on establishing a robust foundation using modern web standards. By choosing Next.js as the core framework, we ensure that our SaaS platform is performant, scalable, and ready for future growth.

Setting the Foundation