Prerequisites
Before you begin, ensure you have the following installed:Node.js
Version 18.x or higher recommended
npm or yarn
Package manager for dependencies
Check your Node.js version with
node --versionInstallation
Install dependencies
Install all required packages using npm or yarn:This will install all dependencies including:
- React 19 and React DOM
- Vite build tool
- Three.js and React Three Fiber for 3D graphics
- EmailJS for contact form functionality
- GSAP for animations
- TailwindCSS for styling
- Google reCAPTCHA v2
Configure environment variables
Create a Add the following environment variables:Google reCAPTCHA:
.env file in the root directory to store your API keys:.env
Getting API Keys
EmailJS Configuration: The contact form uses EmailJS. You’ll need to update the configuration insrc/components/Getcontact/Getcontact.jsx:src/components/Getcontact/Getcontact.jsx
- Visit Google reCAPTCHA Admin
- Register your site with reCAPTCHA v2
- Copy the Site Key to your
.envfile asVITE_SITE_KEY
Customization
Now that your portfolio is running, let’s personalize it with your information.Update Personal Information
Editsrc/components/Presentation/Presentation.jsx to update your hero section:
src/components/Presentation/Presentation.jsx
src/components/Presentation/Presentation.jsx
Update Social Links
Modify your social media links in the same file:src/components/Presentation/Presentation.jsx
Add Your Projects
Editsrc/components/ProjectsSection/Projects.jsx to showcase your work:
src/components/ProjectsSection/Projects.jsx
Update Skills & Technologies
Modify the tech stack icons insrc/components/Aboutme/Aboutme.jsx:
src/components/Aboutme/Aboutme.jsx
/public/Icons/ directory.
Customize Aurora Background
Adjust the animated background colors insrc/App.jsx:
src/App.jsx
colorStops to change the gradient colors, adjust speed for animation pace, and tweak amplitude for wave intensity.
Building for Production
Build the project
Create an optimized production build:This generates a
dist folder with your compiled assets.Next Steps
Components
Explore the reusable components and how to customize them
Customization
Learn how to customize styles, colors, and content
Deployment
Deploy your portfolio to various hosting platforms
Contact Form Setup
Configure EmailJS and reCAPTCHA for your contact form
Available Scripts
| Command | Description |
|---|---|
npm run dev | Start development server with hot reload |
npm run build | Create optimized production build |
npm run preview | Preview production build locally |
npm run lint | Run ESLint to check code quality |
npm run deploy | Build and deploy to GitHub Pages |
The development server runs on port 5173 by default. You can access it at
http://localhost:5173