Skip to content

sanidhyy/threejs-portfolio

Repository files navigation

Modern UI/UX Portfolio using React and Three.js

Modern UI/UX Portfolio using React and Three.js

Ask Me Anything! GitHub license Maintenance GitHub branches Github commits GitHub issues GitHub pull requests Netlify Status

πŸ“” Table of Contents

‼️ Folder Structure

Here is the folder structure of this app.

threejs-portfolio/
  |- public/
    |-- assets/
    |-- models/
    |-- textures/
    |-- apple-icon.png
    |-- favicon.ico
    |-- favicon1.png
    |-- favicon2.png
  |- src/
    |-- components/
        |--- Button.tsx
        |--- CanvasLoader.tsx
        |--- Cube.tsx
        |--- DemoComputer.tsx
        |--- Developer.tsx
        |--- HackerRoom.tsx
        |--- HeroCamera.tsx
        |--- ReactLogo.tsx
        |--- Rings.tsx
        |--- Target.tsx
    |-- constants/
        |--- index.ts
    |-- lib/
        |--- utils.ts
    |-- sections/
        |--- About.tsx
        |--- Clients.tsx
        |--- Contact.tsx
        |--- Experience.tsx
        |--- Footer.tsx
        |--- Hero.tsx
        |--- Navbar.tsx
        |--- Projects.tsx
    |-- App.tsx
    |-- index.css
    |-- main.tsx
    |-- vite-env.d.ts
  |- .env.local.example
  |- .env.local.local
  |- .gitignore
  |- .prettierrc
  |- bun.lockb
  |- eslint-config.js
  |- index.html
  |- package.json
  |- postcss.config.js
  |- tailwind.config.js
  |- tsconfig.app.json
  |- tsconfig.json
  |- tsconfig.node.json
  |- vite.config.ts

🧰 Getting Started

  1. Make sure Git and NodeJS is installed.
  2. Clone this repository to your local computer.
  3. Create .env.local file in root directory.
  4. Contents of .env.local:
# .env.local

# emailjs configuration
VITE_APP_SERVICE_ID=service_xxxxxxxxxx
VITE_APP_TEMPLATE_ID=template_xxxxxxxxxx
VITE_APP_EMAIL=<your-email-here>
VITE_APP_PUBLIC_KEY=xxxxxxxxxxxxxx

5. Service ID (Replace VITE_APP_SERVICE_ID):

  • Visit EmailJS Website.
  • Log in to your account or sign up with new account.
  • Navigate to the API keys or services section.
  • Find and copy the Service ID associated with your account.

6. Template ID (Replace VITE_APP_TEMPLATE_ID):

  • Access the section for email templates or integration.
  • Locate the template you want to use or create a new one and copy its Template ID.

7. EmailJS Public Key (Replace VITE_APP_PUBLIC_KEY):

  • Navigate to the dashboard or settings page.
  • Look for API keys or integration settings.
  • Copy the Public Key associated with your account.

Copy public key

8. EmailJS Receiver (Replace VITE_APP_EMAIL):

  • Enter the email address where you want to receive emails.
  • Ensure that the chosen email address is accessible and ready to receive emails.
  1. Open terminal in root directory. Run npm install --legacy-peer-deps or yarn install --legacy-peer-deps or bun install --legacy-peer-deps to install dependencies.

  2. Now app is fully configured πŸ‘ and you can start using this app using either one of npm run dev or yarn dev or bun dev.

NOTE: Please make sure to keep your API keys and configuration values secure and do not expose them publicly.

πŸ“· Screenshots

Modern UI/UX

Showcase your work

Testimonials section

Experience section

Working contact form

βš™οΈ Tech Stack

React JS Vite JS Three JS Javascript Tailwind CSS Netlify

πŸ”§ Stats

Stats for Threejs portfolio

πŸ™Œ Contribute

You might encounter some bugs while using this app. You are more than welcome to contribute. Just submit changes via pull request and I will review them before merging. Make sure you follow community guidelines.

πŸ’Ž Acknowledgements

Useful resources and dependencies that are used in Threejs portfolio.

β˜• Buy Me a Coffee

πŸš€ Follow Me

Follow Me Tweet about this project Subscribe to my YouTube Channel

πŸ“š Learn More

To deepen your understanding of React.js and Netlify, explore the following resources:

For Netlify-specific information:

You're encouraged to contribute and provide feedback on Netlify's GitHub repository.

πŸ“ƒ Deploy on Netlify

The simplest way to deploy your React.js app is to use the Netlify Platform - a powerful platform for modern web projects.

Explore the Netlify deployment documentation for step-by-step instructions on deploying your React.js app on Netlify.

Happy coding, and feel free to share your thoughts and improvements with the Netlify community!

⭐ Give A Star

You can also give this repository a star to show more people and they can use this repository.

🌟 Star History

Star History Chart

(back to top)