Skip to content

Latest commit

ย 

History

20 Commits

Folders and files

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

Repository files navigation

Live Site Next.js React TypeScript Tailwind CSS Netlify


๐Ÿ“Œ Overview

A modern, full-featured personal developer portfolio built with Next.js 16, React 19, and TypeScript. The portfolio dynamically fetches live GitHub data, features a 3D interactive background powered by Three.js, an integrated AI Assistant, and a secure Admin Dashboard โ€” all deployed on Netlify.


โœจ Features

Feature Description
๐ŸŒ Live GitHub Integration Fetches real-time profile & repositories via GitHub API with ISR (5-min revalidation)
๐ŸŽฎ 3D Interactive Background Three.js powered animated 3D scene & globe
๐Ÿค– AI Assistant Built-in AI assistant for visitor interaction
๐Ÿ—‚๏ธ Project Showcase Cards with modals displaying live project details
๐Ÿ” Admin Dashboard JWT-secured admin panel for content management
๐Ÿ“ฑ Fully Responsive Mobile-first design across all screen sizes
โšก ISR Caching Smart fallback static data when GitHub API is unavailable

๐Ÿ› ๏ธ Tech Stack

Core

Next.js React TypeScript

Styling

Tailwind CSS Bootstrap

3D & Visuals

Three.js Lucide

Auth & Security

JWT bcrypt

Deployment

Netlify


๐Ÿ—‚๏ธ Project Structure

PORTFOLIO/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ admin/          # Secure admin dashboard (JWT protected)
โ”‚   โ”œโ”€โ”€ api/            # Next.js API routes
โ”‚   โ”œโ”€โ”€ layout.tsx      # Root layout
โ”‚   โ””โ”€โ”€ page.tsx        # Home page (GitHub data fetching + ISR)
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ PortfolioClient.tsx     # Main portfolio UI
โ”‚   โ”œโ”€โ”€ AIAssistant.tsx         # AI chat assistant
โ”‚   โ”œโ”€โ”€ Background3D.tsx        # Three.js animated background
โ”‚   โ”œโ”€โ”€ Globe3D.tsx             # Interactive 3D globe
โ”‚   โ”œโ”€โ”€ ProjectCard.tsx         # Project display card
โ”‚   โ”œโ”€โ”€ ProjectModal.tsx        # Detailed project modal
โ”‚   โ””โ”€โ”€ AdminDashboardClient.tsx
โ”œโ”€โ”€ lib/
โ”‚   โ””โ”€โ”€ github.ts       # GitHub API integration
โ”œโ”€โ”€ data/               # Static fallback data
โ””โ”€โ”€ public/             # Static assets

๐Ÿš€ Projects Showcased

Project Tech Description
QuickBite JS, MERN, Stripe Full food delivery app with JWT auth & Stripe payments
SmartScribe JS, OpenAI, MERN AI study assistant โ€” summaries, flashcards & quizzes
ChatWave JS, Socket.io, MERN Real-time chat with group channels & typing indicators
Quill HTML, CSS, JS Minimal journaling app with category-based log system
Brick Breaker Java, AWT/Swing Desktop game with collision physics & dynamic levels
WeatherForecast HTML, CSS, JS Live weather dashboard using Weather API

โš™๏ธ Getting Started

Prerequisites

  • Node.js v18+
  • npm / yarn / pnpm

Installation

# Clone the repository
git clone https://github.com/SagarXdev23/MY_PORTFOLIO.git
cd MY_PORTFOLIO

# Install dependencies
npm install

Environment Variables

Create a .env.local file in the root directory:

GITHUB_TOKEN=your_github_personal_access_token
ADMIN_USERNAME=your_admin_username
ADMIN_PASSWORD=your_admin_password
JWT_SECRET=your_jwt_secret_key

Run Locally

npm run dev

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

Build for Production

npm run build
npm run start

๐ŸŒ Deployment

This project is deployed on Netlify using the @netlify/plugin-nextjs adapter.

Deploy to Netlify

Configure the following in your Netlify dashboard:

  • Build command: npm run build
  • Publish directory: .next
  • Environment variables: Same as .env.local

๐Ÿ“ฌ Connect

Portfolio GitHub LinkedIn


About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages