Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run This Project #22

Open
ShivarajPatil-21 opened this issue May 14, 2023 · 2 comments
Open

Run This Project #22

ShivarajPatil-21 opened this issue May 14, 2023 · 2 comments

Comments

@ShivarajPatil-21
Copy link

Can anyone tell me to get this project working? please thank you

@Samsul-Alam-STP
Copy link

React 3D Portfolio Website with Three.js

This is a portfolio project developed with React and demonstrates the usage of React Three.js and animations. It showcases interactive 3D elements and provides an engaging user experience. This README will guide you through the process of cloning the project from GitHub to your local repository and explain how to install the necessary dependencies and run the project.

Cloning the Project

To clone the project from GitHub, follow these steps:

  1. Open your terminal or command prompt.

  2. Navigate to the directory where you want to clone the project.

  3. Run the following command to clone the repository:

    git clone -b 3d-portfolio https://github.com/username/repository.git
    
  4. Once the cloning process is complete, navigate into the project directory using the following command:

    cd react-app
    

Now you have successfully cloned the project to your local repository.

Installing Dependencies

This project uses Vite as the build tool. To install the project dependencies, make sure you have Node.js installed on your machine, and then follow these steps:

  1. Open your terminal or command prompt.

  2. Navigate to the project directory if you are not already in it.

  3. Run the following command to install the dependencies:

    npm install
    

This will install all the necessary dependencies listed in the package.json file.

Running the Project

After successfully installing the dependencies, you can run the project using the following steps:

  1. Open your terminal or command prompt.

  2. Navigate to the project directory if you are not already in it.

  3. Run the following command to start the development server:

    npm run dev
    

    This will start the development server provided by Vite.

  4. Once the server is up and running, you will see a message in the terminal with the local URL where the project is being served (e.g., http://localhost:3000).

    Open your web browser and visit the URL shown in the terminal to view the project.

Additional Information

Dependencies

The project relies on the following dependencies:

  • @emailjs/browser: A library for sending emails using JavaScript.
  • @react-three/drei: A collection of useful helpers and abstractions for React Three.js.
  • @react-three/fiber: The core package for using React with Three.js.
  • @react-three/postprocessing: A package for adding post-processing effects to your Three.js scenes.
  • prop-types: A library for defining and validating React component props.
  • react: The React library.
  • react-dom: The entry point to the React DOM package.
  • react-simple-maps: A library for creating customizable SVG maps with React.
  • styled-components: A popular library for styling React components using CSS-in-JS.
  • three: The core Three.js library.

Development Dependencies

The project has the following development dependencies:

  • @types/react: TypeScript type definitions for React.
  • @types/react-dom: TypeScript type definitions for React DOM.
  • @vitejs/plugin-react: Vite plugin for React support.
  • vite: The build tool used to serve and bundle the project.

Conclusion

You have now successfully cloned the project from GitHub, installed the necessary dependencies, and started the development server. You can now explore and interact with the React Three.js Animation Portfolio project. Enjoy!

@Samsul-Alam-STP
Copy link

I hope this will help you to run the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants