sanidhyy/3d_portfolio
À propos
Amazing 3D Portfolio in React using Three.js
Développement web et applicatifProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalAmazing 3D Portfolio in React using Three.js

:notebook_with_decorative_cover: Table of Contents
:bangbang: Folder Structure
Here is the folder structure of 3D Portfolio.
3d_portfolio/
|- dev-dist/
|-- registerSW.js
|-- sw.js
|-- workbox-16108a29.js
|- netlify/
|-- functions/
|- public/
|- src/
|-- assets/
|-- components/
|--- Alert.tsx
|--- Cta.tsx
|--- HomeInfo.tsx
|--- index.ts
|--- Loader.tsx
|--- Navbar.tsx
|--- PageTitle.tsx
|-- constants/
|--- index.ts
|-- hooks/
|--- useAlert.ts
|-- lib/
|--- contact.ts
|-- models/
|--- Bird.tsx
|--- Fox.tsx
|--- index.ts
|--- Island.tsx
|--- Plane.tsx
|--- Sky.tsx
|-- pages/
|--- About.tsx
|--- Contact.tsx
|--- Home.tsx
|--- index.ts
|--- Projects.tsx
|-- App.tsx
|-- index.css
|-- main.tsx
|-- vite-env.d.ts
|- .env.example
|- .env/.env.local
|- .gitignore
|- eslint.config.js
|- index.html
|- netlify.toml
|- package.json
|- pnpm-lock.yaml
|- pnpm-workspace.yaml
|- tsconfig.app.json
|- tsconfig.json
|- tsconfig.node.json
|- vite.config.ts
:toolbox: Getting Started
- Make sure Git and NodeJS is installed.
- Clone this repository to your local computer.
- Create
.envfile in root directory. - Contents of
.env:
# resend
RESEND_API_KEY="re_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
RESEND_FROM_EMAIL="Your Name <[email protected]>"
CONTACT_TO_EMAIL="[email protected]"
CONTACT_SITE_URL="https://example.com"
RESEND_TEMPLATE_CONTACT_USER="contact-thank-you"
RESEND_TEMPLATE_CONTACT_ADMIN="contact-admin"
# google recaptcha v3
VITE_RECAPTCHA_SITE_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
RECAPTCHA_SECRET_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
RECAPTCHA_MIN_SCORE="0.5"
Create an account at Resend and add + verify a sending domain.
Create an API key at Resend API Keys with Sending access. Copy it to
RESEND_API_KEY.Set
RESEND_FROM_EMAILto an address on that verified domain. SetCONTACT_TO_EMAILto the inbox that should receive new contact notifications. SetCONTACT_SITE_URLto your site's public URL (no trailing slash).In Resend Templates, create two templates and Publish each.
Template 1 — thank you to the user
- Name:
contact-thank-you - Variables:
USER_NAME,USER_MESSAGE,SITE_URL
Template 2 — new message to admin
- Name:
contact-admin - Variables:
USER_NAME,USER_EMAIL,USER_MESSAGE,SITE_URL
Copy each template's alias into
RESEND_TEMPLATE_CONTACT_USERandRESEND_TEMPLATE_CONTACT_ADMIN.- Name:
Create a Google reCAPTCHA v3 project. Choose Score based (v3), add your production domain(s) and
localhost, then copy the Site key toVITE_RECAPTCHA_SITE_KEYand the Secret key toRECAPTCHA_SECRET_KEY.Open terminal in root directory. Run
npm install --legacy-peer-depsorpnpm install --legacy-peer-deps.Now the app is fully configured 👍 and you can start it with
npm run devorpnpm dev.
NOTE: Please make sure to keep your API keys and configuration values secure and do not expose them publicly.
:raising_hand: Need Help?
If you run into issues during installation or setup:
- GitHub Discussions — Open a Q&A discussion for setup and troubleshooting help.
- Email — [email protected]
- Discord —
@sanidhyy
:camera: Screenshots:




:gear: Tech Stack
:wrench: Stats
:raised_hands: 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.
:gem: Acknowledgements
Useful resources and libraries that are used in My Portfolio
- @eslint/js: ^10.0.1
- @netlify/functions: ^6.1.1
- @netlify/vite-plugin: ^3.0.1
- @react-spring/three: ^10.1.2
- @react-three/drei: ^10.7.9
- @react-three/fiber: ^9.8.2
- @tailwindcss/vite: ^4.3.5
- @types/node: ^26.6.6
- @types/react: ^19
- @types/react-dom: ^19
- @types/react-vertical-timeline-component: ^3.3.6
- @types/three: ^0.187.0
- @vitejs/plugin-react: ^6.3.0
- eslint: ^10.15.0
- eslint-plugin-react-hooks: ^7.1.1
- eslint-plugin-react-refresh: ^0.5.7
- globals: ^17.14.0
- react: ^19.3.1
- react-dom: ^19.3.1
- react-google-recaptcha-v3: ^1.11.0
- react-router-dom: ^7.18.5
- react-vertical-timeline-component: ^4.0.0
- resend: ^6.38.1
- tailwindcss: ^4.3.3
- three: ^0.187.0
- typescript: ^6.0.3
- typescript-eslint: ^8.72.2
- vite: ^8.3.8
- vite-plugin-pwa: ^2.0.0
- workbox-window: ^7.0.0
:coffee: Buy Me a Coffee
:rocket: Follow Me
:star: Give A Star
You can also give this repository a star to show more people and they can use this repository.
:star2: Star History
Explorer des projets similaires
Chargement…