Skip to content
View theshahzaib-dev's full-sized avatar
✔️
✔️
  • Lodhran, Punjab, Pakistan
  • 21:06 (UTC +05:00)

Block or report theshahzaib-dev

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
theshahzaib-dev/README.md

Portfolio Site - Frontend

Tech Stack

  • Framework: Next.js 14 (App Router)
  • Language: TypeScript
  • Styling: Tailwind CSS
  • UI Components: shadcn/ui
  • State Management: Redux Toolkit (RTK)
  • Theme: Dark/Light mode support

Project Structure

frontend/
├── app/
│   ├── portfolio/          # Public portfolio pages (view-only)
│   │   ├── layout.tsx      # Public layout with header/footer
│   │   └── page.tsx        # Home page
│   ├── admin/              # Admin pages (CRUD operations)
│   │   ├── layout.tsx      # Admin layout with sidebar
│   │   ├── login/          # Admin login
│   │   └── page.tsx        # Admin dashboard
│   ├── layout.tsx          # Root layout
│   └── page.tsx            # Root redirects to /portfolio
├── components/
│   ├── ui/                 # shadcn/ui components
│   ├── layout/             # Layout components (Header, Footer, Sidebar)
│   └── providers/          # Context providers
├── store/                  # Redux store configuration
├── lib/                    # Utilities and helpers
└── types/                  # TypeScript type definitions

Getting Started

Install Dependencies

npm install

Run Development Server

npm run dev

Open http://localhost:3000 in your browser.

Build for Production

npm run build
npm start

Routes

Public Routes (View-Only)

  • /portfolio - Home page
  • /portfolio/about - About section
  • /portfolio/projects - Projects showcase
  • /portfolio/skills - Skills/Technologies
  • /portfolio/contact - Contact page with chat

Admin Routes (Protected)

  • /admin/login - Admin login
  • /admin - Admin dashboard
  • /admin/projects - Manage projects (CRUD)
  • /admin/skills - Manage skills (CRUD)
  • /admin/about - Manage about section
  • /admin/chat - Chat management
  • /admin/settings - Site settings

Features Implemented

✅ Next.js 14 with TypeScript ✅ Tailwind CSS configuration ✅ shadcn/ui components setup ✅ Redux Toolkit store setup ✅ Theme provider (dark/light mode) ✅ Basic routing structure ✅ Layout components (Header, Footer, Sidebar) ✅ Public and Admin route separation

Next Steps

  • Create API slice with RTK Query
  • Implement authentication flow
  • Build portfolio pages (Home, About, Projects, Skills)
  • Build admin CRUD interfaces
  • Implement WebSocket for chat
  • Add form validations
  • Add loading and error states

Popular repositories Loading

  1. shahzaibreactwesite shahzaibreactwesite Public

    JavaScript 1

  2. xevensolutions.com xevensolutions.com Public

    JavaScript 1

  3. CHAT-GPT-Consumer CHAT-GPT-Consumer Public

    get chat gpt

    JavaScript 1

  4. ticer.pk ticer.pk Public

    JavaScript

  5. reactmultipagestech reactmultipagestech Public

    Api Tech

    JavaScript

  6. dashbordRepository dashbordRepository Public

    This is first repository of client base