Prerequisites
Before you begin, ensure you have the following installed on your system:Node.js 18+
Required for running the development server and build tools
Git
For cloning the repository and version control
npm
Package manager (comes with Node.js)
Code editor
VS Code, WebStorm, or your preferred editor
Node.js 18 or higher is required. Check your version with
node --version.Installation steps
Clone the repository
Clone the repository from GitHub to your local machine:This will download the complete source code and all assets.
Terminal
Install dependencies
Install all required npm packages:This will install the following key dependencies:Runtime dependencies:
Terminal
react@19.0.0- React libraryreact-dom@19.0.0- React DOM renderergsap@3.14.2- Animation librarylenis@1.3.17- Smooth scrollingreact-github-calendar@5.0.5- GitHub contribution calendar@vercel/analytics@1.6.1- Analytics integration@vercel/speed-insights@1.3.1- Performance monitoring@microsoft/clarity@1.0.2- User behavior analytics
vite@6.2.0- Build tooltypescript@5.8.2- Type checkingtailwindcss@4.1.14- CSS framework@vitejs/plugin-react@5.0.4- React plugin for Viteterser@5.46.0- JavaScript minifiervite-plugin-css-injected-by-js@4.0.1- CSS injection plugin
Why these specific versions?
Why these specific versions?
- React 19: Latest version with improved Suspense and concurrent features
- Vite 6: Fastest build tool with native ESM support
- GSAP 3.14: Industry-standard animation library
- Tailwind v4: Latest version with improved performance and DX
- Lenis 1.3: Smoothest scrolling library with momentum-based easing
Start the development server
Launch the Vite development server:The development server will start on port 3000 and bind to all network interfaces:
Terminal
Output
The server runs on
0.0.0.0 (all interfaces) so you can access it from other devices on your network for mobile testing.Available scripts
The project includes several npm scripts defined inpackage.json:
Starts the Vite development server on port 3000 with HMR enabled
Creates an optimized production build in the
dist/ directory with Terser minificationServes the production build locally for testing before deployment
Removes the
dist/ directory to start freshRuns TypeScript type checking without emitting files
Development workflow
Project structure overview
Once installed, your project structure will look like this:Directory structure
Next steps
Now that you have the project running locally, explore the documentation:Architecture
Learn about the project structure and design patterns
Components
Explore the React components and their implementations
Performance
Understand the performance optimization strategies
Animations
Deep dive into GSAP animations and ScrollTrigger
i18n
Learn about the multi-language implementation
Customization
Customize the portfolio for your own use
Troubleshooting
Port 3000 is already in use
Port 3000 is already in use
If port 3000 is occupied, Vite will automatically try the next available port (3001, 3002, etc.).To use a specific port:
Module not found errors
Module not found errors
Delete
node_modules/ and reinstall:TypeScript errors
TypeScript errors
Run type checking to see detailed errors:
HMR not working
HMR not working
HMR can be disabled with the
DISABLE_HMR environment variable. Check your .env file or remove the variable: