Case study
Yusr Advanced Business — Custom CMS & Business Platform
A corporate website, rebuilt as a business platform.
A multilingual custom CMS, a storefront, a CRM inbox and a REST API in one Laravel platform — with a Next.js frontend that reads every word of the public site from it.
- Discipline
- Backend Systems
- Type
- CMS · E-commerce · CRM · API · Web platform · Full-stack
- Domain
- Corporate CMS / E-Commerce / CRM
- Role
- Full-Stack Developer
- Status
- Production Ready
- Timeline
- Production System
01Project overview
What this system is
Yusr Advanced Business began as a corporate website and became the system the business runs on. The rebuild moved every piece of public content out of code and into records an editor owns: the hero slider, the company profile, each business sector and its own detail page, the Noor project, financing options, services, projects, the navbar, the footer, the inner pages and the blog. Around that content layer the platform grew a storefront, customer accounts, an enquiry inbox and a notification centre — so the same admin panel that publishes a headline also processes an order and answers a financing request. A REST API exposes all of it to a Next.js frontend, which means the public site renders live content rather than a snapshot compiled at build time.
02The challenge
The problem it had to solve
The company's website was static: every headline, sector, service and image lived in code, so the smallest content change needed a developer and a deploy. There was no storefront, no customer accounts, and no single place for the enquiries the business actually ran on — contact messages, quotation requests, consultations, financing applications and maintenance requests all arrived through scattered channels. Adding a language, a sector or a product line meant rebuilding pages rather than adding records.
03Solution & features
What was built
A Laravel platform with an Inertia + React admin panel that owns every piece of site content, plus a Next.js frontend that reads it through a REST API. Each content block is a record with its own translations, publish state and media, so editors change the site without touching code. The same platform runs the store — products, categories, cart, wishlist, checkout and orders — and a CRM inbox that gathers all six enquiry types into one queue with status and notifications. New pages, sectors, products, articles and services are added as data, not as new code paths.
Core features
Multilingual Content
Arabic, English and French are edited side by side on every block, with RTL and LTR handled through the whole admin panel and the public site. Publishing is gated on completeness, so a half-translated section cannot reach production and quietly fall back to another language.
Content Lifecycle
Every block carries draft, published and hidden states independently of each other, plus an archive. An editor can prepare a section, keep it out of the live site, and publish it later without deleting or duplicating anything.
Page & Section Model
Homepage sections and inner pages are separate records rather than the same content shown twice, so the sectors strip on the homepage and the sectors landing page can say different things — and each sector still gets a full page of its own.
Media Management
Images are attached per block with filenames, dimensions and replace / remove actions, and separate light and dark variants exist wherever a logo has to sit on both backgrounds.
E-Commerce
Products and hierarchical categories, cart and wishlist, checkout and orders. Products carry SKU, pricing, availability including pre-order, stock, cart eligibility and a featured flag, and the checkout is structured so a payment provider can be attached without reshaping the order model.
Order Management
Order state, payment state and fulfilment state are tracked separately, which is what lets the business see that an order is confirmed but unpaid, or paid but not yet prepared, instead of collapsing all of that into one status.
Customer Management
Registered accounts with status, account type, email verification, nationality and location, plus their order history — searchable and filterable rather than only reachable through the order that created them.
CRM & Business Requests
Contact messages, quotations, consultations, financing applications, fleet-tracking enquiries and maintenance requests all arrive in one inbox with a type, a state and a read flag, so nothing depends on someone remembering to check a second channel.
Notifications
The admin panel raises notifications for new orders, incoming requests and system activity, so the queue is something staff are told about rather than something they have to go looking for.
04Architecture & integrations
How the system fits together
Laravel owns the data and the rules. The admin panel is served through Inertia with React and TypeScript, so admin screens are React components without a separate API layer to maintain for internal use — validation, authorization and CSRF protection stay in Laravel where the models are. The public site is a separate Next.js frontend that talks to the platform over a versioned REST API and never reads the database directly. Content, commerce and CRM are three domains over one MySQL schema: each content block, product, order and request is a record with its own state, translations and permissions, which is why adding a sector or a language is a data operation rather than a release.
Layers
01
Laravel Core
Models, business rules, validation, authorization and CSRF protection. Every write — content, order or request — passes through it, so there is no path into the data that skips the rules.
02
Inertia + React Admin
The admin panel is React and TypeScript rendered through Inertia, giving a single-page feel without maintaining a second API surface purely for internal screens.
03
MySQL / MariaDB
One relational schema holding content blocks with their translations, the product catalogue, customers, orders and the CRM queue — related rather than siloed.
04
REST API
The contract the public site is built on: homepage, navbar, footer, company pages, sectors, financing, blog, products, categories, auth, cart, wishlist, orders and business requests.
05
Next.js Frontend
The public website. It fetches content and commerce data from the API with Axios, so a change published in the CMS appears on the site without a code change or a rebuild of hardcoded content.
APIs & integrations
- Content Endpoints
- Homepage, navbar, footer, company pages, business sectors, the Noor project, financing options and the blog — the public site's entire text and imagery comes from these rather than from files in the repository.
- Commerce Endpoints
- Products, categories, cart, wishlist and orders, so the storefront reads the same catalogue the admin panel edits, with no second copy to keep in sync.
- Auth Endpoints
- Customer registration, sign-in and session handling for the public site, kept separate from the admin panel's own authentication.
- Business Request Endpoints
- Every public form — contact, quotation, consultation, financing, maintenance — posts through the API into the same CRM queue, which is why the inbox is complete by construction.
- Frontend Integration
- The Next.js site consumes these endpoints with Axios. Content published in the CMS appears on the public site without a code change, which was the entire point of the rebuild.
Dashboard modules
- Overview
- Orders, customers, order value, products, pages and open requests, with twelve-month order activity, order status mix and incoming enquiries, recent orders and quick actions.
- Site
- Homepage sections, navbar and footer — the parts of the site that appear on every page.
- Pages
- About, financing, business sectors with a page per sector, and blog and news with articles, categories and page settings.
- Store
- Categories, products and orders, each with their own counters, search and filters.
- Customers
- Customer accounts and the business requests inbox, kept together because they are two views of the same relationship.
- Access Control
- Admin users with roles and status — its own top-level section, not a settings sub-page.
05Technologies & role
The stack, and the role in it
Role on the projectFull-Stack Developer
- Frontend
- React
- TypeScript
- Inertia.js
- Vite
- Tailwind CSS
- Next.js
- Axios
- Back end
- Laravel
- PHP
- MySQL / MariaDB
- REST API
- Authentication & authorization
- Server-side validation
- CSRF protection
- Integrations
- Media & image management
- Payment-ready checkout architecture
- Infrastructure
- Git
- GitHub Actions
- Linux VPS
- Nginx
06Challenges & decisions
The hard parts, and the decisions behind them
Challenge 01
Three languages across dozens of content blocks meant a section could go live with Arabic written and French missing, and the public site would silently fall back — so the gap only surfaced to a French-speaking visitor.
How it was handled
Translation completeness became a publish condition rather than a convention. The editor sees which languages are missing on the tab itself, and the publish action stays blocked until all three are written.
Challenge 02
The original site hardcoded every sector, service and page, so adding one meant new templates, new routes and a deploy.
How it was handled
Pages and sections were modelled as records with a shared page model. A new sector is a row that brings its own hero, content, images and detail page — the mining and education sectors are the same template holding different data.
Challenge 03
Enquiries arrived through several unrelated channels, so quotations, consultations, financing and maintenance requests were tracked in different places, or not tracked at all.
How it was handled
Every public form posts through the API into one queue with a type, a state and a read flag. The inbox is complete because there is no other way for a request to enter the system.
Challenge 04
A single order status could not express the business reality — an order might be confirmed but unpaid, or paid but not yet prepared.
How it was handled
Order state, payment state and fulfilment state were separated into three fields with three independent filters, so each can move at its own pace and the list stays honest about where an order actually is.
Challenge 05
Two frontends — an Inertia admin panel and a Next.js public site — risked becoming two implementations of the same rules.
How it was handled
Rules stayed in Laravel. The admin panel reaches them through Inertia and the public site through the REST API, but neither holds a second copy of validation or authorization logic.
Technical decisions
- Inertia for the admin panel, REST for the public site.
- Internal screens do not need a public contract, and giving them one would mean maintaining and securing a second API surface for no benefit. The public site does need a contract, so it gets a real REST API.
- Model content as records, not as code.
- The original site's limitation was that content lived in templates. Making every block, sector, page and article a record with translations and a publish state is what turned content changes from deploys into edits.
- Gate publishing on translation completeness.
- Silent language fallback hides the problem from the person who can fix it and shows it to the visitor. Blocking the publish moves the discovery to the right place.
- Split order, payment and fulfilment state.
- One status field forces the business to choose which fact to record. Three fields record all three, and the filters become genuinely useful.
- One inbox for every enquiry type.
- Requests that arrive through different channels get handled inconsistently. Funnelling all six types through the API into a single queue makes completeness structural rather than a matter of discipline.
Performance
- The public site fetches content through the API rather than embedding it at build time, so publishing does not require a rebuild.
- List screens are paginated and filtered server-side — orders, products, customers and requests never load a full table to render a page.
- Counters on each screen are computed as aggregates instead of by fetching the rows they summarise.
- Vite builds the admin bundle, and the panel is served through Inertia so navigation between admin screens does not reload the application.
- Images are stored and served in web-friendly formats, with the upload surfaces stating the accepted types up front.
Interface & experience
- The admin panel is fully bilingual: switching to Arabic mirrors the entire layout to RTL rather than translating labels inside an LTR shell.
- Language tabs mark incomplete translations with a dot, and missing entries show a dash instead of a badge, so gaps are visible before publishing rather than after.
- Publish, draft and hide are separate, explicit actions with the current state shown next to the page title, so an editor always knows what the public site is showing.
- Empty states explain what to add and provide the action, instead of leaving a blank panel.
- Live previews sit beside the navbar and footer editors, including a light/dark switch, so logo choices are judged in both themes before saving.
- Global command search (Ctrl+K) and a grouped sidebar keep navigation short across a panel with a large surface area.
- Dark and light themes are both supported throughout the admin panel.
Production readiness
- Authentication for admin users and, separately, for public customer accounts.
- Role-based authorization on administrative operations.
- Server-side validation on every write.
- CSRF protection on state-changing requests.
- Draft and archive states so content is withdrawn rather than deleted.
- Payment-ready checkout architecture.
- Version control with Git and GitHub Actions.
- Deployed on a Linux VPS behind Nginx.
07Content Platform
Custom CMS & Multilingual Content
The admin panel that owns the public site. Each block below is a record with its own Arabic, English and French content, its own publish state and its own media — which is what makes the website editable without a developer.
Business Operations
E-Commerce, CRM & Access Control
The half of the platform that handles money and people: a catalogue and its orders, the customer accounts behind them, every enquiry the public site can produce, and the admin accounts allowed to touch any of it.
What the business runs from here
- Catalogue with hierarchical categories
- Orders with separate payment and fulfilment states
- Customer accounts with verification and status
- One inbox for all six enquiry types
- Admin users, roles and access control
08Outcome
Where it stands
- Model
- Custom CMS + Commerce + CRM
- Content languages
- Arabic, English, French
- Frontends
- Inertia admin + Next.js site
- Content delivery
- REST API driven
- Status
- Production Ready
Related work
More systems like this

Yusr Advanced Business
A modern multilingual business frontend for Yusr that brings a corporate experience, a dynamic CMS, business-sector pages, an online store and strong SEO together in one platform.

Morshed Platform Management System
A centralized management system that operates the whole Morshed educational platform — users, curriculum, lessons, courses, exams, subscriptions, payments, permissions, and the content the public site renders.

Shakirin Mills Gold Refining Management System
A complete operational and financial system for gold grinding and refining businesses, unifying grinding operations, customers, inventory, payroll, expenses, collections, accounting, and reporting in one platform.
Building something similar?
Describe what you need — the users, the scope, the systems it has to connect to — and I’ll reply with questions or a next step.
