Skip to content

misogare/Laravel-Portfolio-With-ThreeJs

Repository files navigation

LaraVision Portfolio

Description

LaraVision Portfolio is an interactive 3D portfolio application built using Laravel and Three.js. This project leverages pre-made 3D model designs stored in GLTF format within the public folder. GLTF is a compressed version of traditional 3D model formats like FBX, offering efficient loading and handling of complex models.

The Three.js script, responsible for all 3D model interactions, is located in resources/js/portfolio.js. When you run npm run dev, Vite provides hot module replacement (HMR), which automatically updates the portfolio page as you make changes to portfolio.js—no need to reload or restart your service.

The application's structure follows the MVC pattern. Navigation between pages is handled by Laravel's routing, with home.blade.php redirecting to portfolio.blade.php. There are two main controllers: HomeController and PortfolioController, which manage the respective views.

If you are new to Laravel and need to modify or add new pages, it is recommended to check the Laravel documentation to understand how to work with views, routes, and controllers effectively.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • PHP >= 7.3
  • Node.js >= 12.x
  • Composer

Note

click on the icon in the windows 7 screen to be able to see the portfolio website which is fetched to mine MESVAK.SOFTWARE image

Installation

Follow these steps to get your development environment running:

  1. Clone the repository:

    git clone https://github.com/yourusername/laravision-portfolio.git
    cd laravision-portfolio
  2. Install PHP dependencies:

 composer install
  1. Install JavaScript dependencies:
 npm install
  1. Compile assets with Vite:

    npm run dev  # For development
    npm run build  # For production
  2. Copy the example environment file and make the required configuration changes in the .env file:

 cp .env.example .env
  1. Generate a new application key:
 php artisan key:generate
  1. Run the database migrations (Set the database connection in .env before migrating)
  php artisan migrate
  1. Start the local development server:
 php artisan serve

Usage

After installation, you can open your web browser and visit http://localhost:8000 to view the application.

Credits

This project makes use of several open-source packages and resources:

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

MESVAK – @mesvak - mesvak - MESVAKC@GMAIL.COM

Project Link: lARAVISION

Releases

No releases published

Packages

 
 
 

Contributors