portfolio-2026

Portfolio 2026 - Terminal Hacker Theme

A modern, interactive portfolio website with a hacker/terminal aesthetic, built with Next.js, React, and Tailwind CSS.

πŸš€ Features

πŸ› οΈ Tech Stack

πŸ“¦ Installation

Prerequisites

Frontend Setup

cd frontend
npm install
npm run dev

The frontend will be available at http://localhost:3000

Backend Setup

cd backend
go mod download
go run main.go

🎨 Color Themes

The portfolio uses multiple hacker-themed colors:

πŸ“ Project Structure

β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ app/              # Next.js app router pages
β”‚   β”œβ”€β”€ components/       # React components
β”‚   β”œβ”€β”€ data/            # JSON data files
β”‚   └── styles/          # CSS files
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ routes/          # API routes
β”‚   β”œβ”€β”€ models/          # Data models
β”‚   └── db/              # Database configuration
└── README.md

🎯 Key Features

πŸš€ Deployment

GitHub Pages

This repository includes a GitHub Actions workflow that builds the Next.js frontend as a static site and publishes it to the gh-pages branch. The workflow now uses Node.js 20.x (required by your Next.js version); make sure any local development uses the same or newer version. The site will be available at https://<your‑username>.github.io/<your-repo> once you enable GitHub Pages in the repository settings. Steps:

  1. Push your code to the main branch (the workflow also compiles the Go backend to catch any errors).
  2. Go to Settings > Pages in your GitHub repository.
  3. Choose the gh-pages branch as the source and save.

The workflow (.github/workflows/gh-pages.yml) runs automatically on every push to main.

Build the frontend for production locally:

cd frontend
npm run build
npm start

πŸ“ License

ISC

πŸ‘€ Author

Kanhaiya Tiwari


Built with ❀️ using Next.js and Go