Skip to content

Latest commit

ย 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

CodeStudio PRO โ€” Enterprise Software Showcase & Engineering Hub

Next.js 16 React 19 TypeScript Tailwind CSS v4 Laravel Reverb License: MIT

A modern, full-featured digital software marketplace, developer showcase, and interactive engineering platform built with Next.js 16 App Router, React 19, TypeScript, and Tailwind CSS v4, communicating with a decoupled Laravel headless backend and real-time Laravel Reverb WebSockets.

Explore Showcase โ€ข System Architecture โ€ข Getting Started โ€ข Theming Engine โ€ข API Contracts


๐Ÿ“Œ Overview

CodeStudio PRO is engineered for high-performance software showcasing, live product demos, and client lead acquisition. Designed with an ultra-modern cyber-glassmorphism aesthetic, it bridges the gap between software development studios and prospective clients/investors.

It features real-time event broadcasting (via Laravel Echo & Laravel Reverb), dynamic multi-palette theming, instant sandbox credential access, cross-platform software distribution (Web, Android APK, and iOS TestFlight), an interactive project cost estimator, and an engineering team showcase.


๐Ÿš€ Key Features

1. ๐Ÿ“ฆ Software Catalog & Dynamic Filtering

  • Cross-Platform Categorization: Filter solutions across Web Applications, Android APKs, iOS TestFlight builds, and Custom Enterprise Suites.
  • Server-Side Search & Sorting: Real-time URL search parameters, category filters, and tag queries powered by Next.js 16 ISR (Incremental Static Regeneration) for lightning-fast TTFB.
  • Rich Metadata & Specifications: Detailed product views featuring multi-image galleries, tech stack tags, feature lists, pricing models, and direct deployment channels.

2. ๐Ÿ”‘ Interactive Sandbox & Live Demo Access

  • One-Click Admin Demo Modal: Users can launch live admin panels and instantly copy test credentials (admin@demo.com / password) with clipboard feedback.
  • Direct Binary Distribution: Direct links for Android APK downloads and iOS TestFlight onboarding.

3. โšก Real-Time WebSocket Notifications (Laravel Reverb)

  • Sub-100ms Event Broadcasting: Subscribes to backend events via laravel-echo and pusher-js over WebSocket channels (notifications and test-channel).
  • Live Toast Notifications & Navbar Badge: Floating dynamic toast alerts with auto-dismiss and an animated live unread counter on the navigation bar.

4. ๐ŸŽจ 5-Palette Luxury Theming & Dual-Mode UI

  • Custom CSS Variable Design System: Instant runtime switching between 5 curated luxury palettes:
    • ๐ŸŒŠ Oceanic Blue (Royal Azure & Electric Blue โ€” Stripe/SaaS style)
    • ๐ŸŒฟ Emerald Luxe (Mint Jade & Deep Emerald โ€” Fintech style)
    • ๐Ÿ”ฎ Violet Aura (Electric Violet & Deep Indigo โ€” AI/Modern Tech)
    • ๐ŸŒ… Sunset Amber (Crimson Flame & Warm Gold โ€” High-energy)
    • ๐ŸŒ‘ Obsidian Slate (Titanium & Pure Monochrome โ€” Apple minimalist)
  • Light / Dark Dual Mode: Seamless mode switching with zero layout shift and automatic localStorage persistence.

5. ๐Ÿ‘ฅ Engineering Team & Developer Directory

  • Role-Based Filtering: Filter engineers by specialization (Frontend, Backend, Mobile, DevOps, UI/UX, Fullstack).
  • Interactive Profile Cards: Displays real-time availability badges, experience years, skills pills, custom role-specific color accents, and direct links to GitHub, LinkedIn, Twitter/X, and personal portfolios.

6. ๐Ÿ“ Interactive Project Estimator & Scope Builder

  • Multi-Platform Scoping: Clients can customize target platform, budget tiers, and delivery timelines.
  • Direct Headless Submission: Validated inquiries are directly dispatched to the Laravel backend support API with instant UX feedback.

๐Ÿ—๏ธ System Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                           CLIENT BROWSER                                โ”‚
โ”‚                                                                         โ”‚
โ”‚   Next.js 16 (React 19) โ€ข Tailwind CSS v4 โ€ข Context API (Theme/Notif)  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ฒโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ฒโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                    โ”‚                                  โ”‚
      HTTPS / REST  โ”‚                                  โ”‚  WebSockets (WSS)
      ISR (30s-60s) โ”‚                                  โ”‚  Sub-100ms Broadcast
                    โ”‚                                  โ”‚
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚     LARAVEL 12 REST API         โ”‚   โ”‚      LARAVEL REVERB SERVER        โ”‚
โ”‚   (Headless Microservice)       โ”‚   โ”‚      (WebSocket Server)           โ”‚
โ”‚                                 โ”‚   โ”‚                                   โ”‚
โ”‚ โ€ข Products & Categories         โ”‚โ”€โ”€โ”€โ–บ โ€ข Public Channel: 'notifications' โ”‚
โ”‚ โ€ข Developers & Team Roles       โ”‚   โ”‚ โ€ข Live Channel:   'test-channel'  โ”‚
โ”‚ โ€ข Contact & Custom Quotes       โ”‚   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚ โ€ข Newsletter Subscriptions      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ› ๏ธ Tech Stack & Dependencies

Layer Technologies
Framework Next.js 16 (App Router, Server Components & Client Boundaries)
Library React 19
Language TypeScript 5
Styling Tailwind CSS v4, PostCSS, Custom CSS Variables
WebSockets Laravel Echo, Pusher JS, Laravel Reverb
Icons Lucide React
Utilities clsx, tailwind-merge
Data Fetching Native fetch with Next.js ISR Cache Revalidation (revalidate: 30)

๐Ÿ“‚ Project Structure

code-studio-nextjs/
โ”œโ”€โ”€ public/                     # Static assets and icons
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ app/                    # Next.js 16 App Router
โ”‚   โ”‚   โ”œโ”€โ”€ contact/            # Direct contact & support desk
โ”‚   โ”‚   โ”œโ”€โ”€ products/           # Software catalog
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ [slug]/         # Dynamic product detail & sandbox page
โ”‚   โ”‚   โ”œโ”€โ”€ request-quote/      # Interactive project estimator
โ”‚   โ”‚   โ”œโ”€โ”€ services/           # Engineering services & capabilities hub
โ”‚   โ”‚   โ”œโ”€โ”€ team/               # Developer team directory & profiles
โ”‚   โ”‚   โ”œโ”€โ”€ globals.css         # Tailwind CSS v4 tokens, themes & glassmorphism
โ”‚   โ”‚   โ”œโ”€โ”€ layout.tsx          # Root layout with theme & notification providers
โ”‚   โ”‚   โ””โ”€โ”€ page.tsx            # High-conversion landing page & hero
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ”œโ”€โ”€ common/             # Reusable UI components
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Footer.tsx      # Multi-column footer & newsletter opt-in
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Navbar.tsx      # Sticky glass nav, active routes & notif bell
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ NotificationToast.tsx # Floating real-time alert banner
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ThemeSwitcher.tsx     # Color palette & dark mode toggle
โ”‚   โ”‚   โ””โ”€โ”€ products/
โ”‚   โ”‚       โ”œโ”€โ”€ DemoModal.tsx   # Live sandbox credentials modal
โ”‚   โ”‚       โ””โ”€โ”€ ProductCard.tsx # Software card with badges & action triggers
โ”‚   โ”œโ”€โ”€ context/
โ”‚   โ”‚   โ”œโ”€โ”€ NotificationContext.tsx # Reverb WebSocket listener & state
โ”‚   โ”‚   โ””โ”€โ”€ ThemeContext.tsx        # 5-palette & light/dark mode manager
โ”‚   โ”œโ”€โ”€ lib/
โ”‚   โ”‚   โ”œโ”€โ”€ api.ts              # Strongly-typed backend API client
โ”‚   โ”‚   โ”œโ”€โ”€ echo.ts             # Laravel Echo & Reverb singleton instance
โ”‚   โ”‚   โ””โ”€โ”€ utils.ts            # Currency formatters, badges & safe image resolution
โ”‚   โ””โ”€โ”€ types/
โ”‚       โ”œโ”€โ”€ index.ts            # Global TypeScript interfaces & API types
โ”‚       โ””โ”€โ”€ theme.ts            # Theme presets & color definitions
โ”œโ”€โ”€ .env.example                # Environment variable configuration template
โ”œโ”€โ”€ next.config.ts              # Next.js configuration & remote image patterns
โ”œโ”€โ”€ package.json                # Project dependencies & scripts
โ””โ”€โ”€ tsconfig.json               # TypeScript configuration

โš™๏ธ Getting Started

Prerequisites

  • Node.js: v20.x or later (LTS recommended)
  • Package Manager: npm, yarn, pnpm, or bun
  • Backend Service: Running Laravel 11/12 instance with Laravel Reverb enabled (optional for local mock/static development)

1. Clone the Repository

git clone https://github.com/sajusun/code-studio-nextjs.git
cd code-studio-nextjs

2. Install Dependencies

npm install
# or
pnpm install
# or
yarn install

3. Configure Environment Variables

Copy .env.example to .env.local:

cp .env.example .env.local

Configure your environment variables:

# Backend API Endpoints (Laravel Headless Microservice)
NEXT_PUBLIC_API_URL=http://backend.test/api/v1
NEXT_PUBLIC_BACKEND_URL=http://backend.test

# Real-Time WebSocket Engine (Laravel Reverb)
NEXT_PUBLIC_REVERB_APP_KEY=local-key
NEXT_PUBLIC_REVERB_HOST=127.0.0.1
NEXT_PUBLIC_REVERB_PORT=8080
NEXT_PUBLIC_REVERB_SCHEME=http

# UI / Theming System Defaults
# Options: oceanic_blue | emerald_luxe | violet_aura | sunset_amber | obsidian_slate
NEXT_PUBLIC_DEFAULT_THEME=oceanic_blue
# Options: light | dark
NEXT_PUBLIC_DEFAULT_MODE=light

4. Run Development Server

npm run dev

Open http://localhost:3000 in your browser to view the application.


๐ŸŽจ Theming Engine & Design System

The application implements a decoupled, variable-driven styling architecture using Tailwind CSS v4 @layer base.

/* Dynamic CSS Variable Injection */
:root, [data-theme="oceanic_blue"] {
  --accent-primary: #2563eb;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #0284c7 50%, #6366f1 100%);
}

html.dark[data-theme="oceanic_blue"] {
  --accent-primary: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.35);
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
}
  • Persistence: User theme selection and dark/light preference are saved in localStorage (app_theme_color and app_theme_mode).
  • Micro-Interactions: Custom Cyber-Grid backgrounds, glass-morphism panels (backdrop-filter: blur(16px)), and smooth hover card transforms (translateY(-3px)).

๐Ÿ“ก API Integration & Endpoints

All external HTTP requests are handled inside src/lib/api.ts with Next.js caching strategy:

Method Endpoint Description Cache Policy
GET /public/products Paginated product list with search & filters ISR 30s
GET /public/products/featured Curated featured software items ISR 60s
GET /public/products/{slug} Full product details with related software ISR 30s
POST /public/support/contact Project quote requests & contact messages No-Cache
POST /newsletter/subscribe Email newsletter subscription No-Cache
GET /public/developers Team member directory with role query ISR 60s
GET /public/developer-roles List of developer roles & badge schemes ISR 300s

๐Ÿš€ Deployment

Deploy on Vercel (Recommended)

  1. Push your repository to GitHub.
  2. Import the project into the Vercel Dashboard.
  3. Set your Production Environment Variables (NEXT_PUBLIC_API_URL, NEXT_PUBLIC_REVERB_*).
  4. Click Deploy.

Production Build Test

npm run build
npm run start

๐Ÿ‘จโ€๐Ÿ’ป Author

Sakhawat Hossain
Full Stack Software Engineer


๐Ÿ“„ License

This project is licensed under the MIT License.

About

CodeStudio PRO is engineered for high-performance software showcasing, live product demos, and client lead acquisition. Designed with an ultra-modern cyber-glassmorphism aesthetic, it bridges the gap between software development studios and prospective clients/investors. author: Sakhawat Hossain (@sajusun)

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages