A modern React portfolio application built with Vite, TypeScript, and TailwindCSS.
This project is configured for automatic deployment to GitHub Pages. Here's how to set it up:
- Push the repo to GitHub.
- In GitHub repo settings → Pages:
- Build and deployment: select Deploy from a branch
- Branch: select
gh-pages/(root)
- Your site will be available at:
https://[username].github.io/Portfolio/
If you prefer to deploy manually:
-
Install dependencies:
pnpm install
-
Install gh-pages:
pnpm add -D gh-pages
-
Deploy:
pnpm run deploy
To run the project locally:
# Install dependencies
pnpm install
# Start development server
pnpm run devThe development server will run on http://localhost:8080
pnpm run dev- Start development serverpnpm run build- Build for productionpnpm run build:github-pages- Build specifically for GitHub Pagespnpm run deploy- Build and deploy to GitHub Pagespnpm run preview- Preview production build locally
client/- React frontend applicationpublic/- Static assets
vite.config.ts- Main Vite configuration for developmentvite.config.pages.ts- GitHub Pages specific configuration
- Frontend: React 18, TypeScript, Vite
- Styling: TailwindCSS, Radix UI
- Routing: React Router 6
- Deployment: GitHub Pages, GitHub Actions