Ria Choi
← Portfolio

Vue & Laravel + Blade Portfolio Page

A course portfolio that explores where to separate public templates, interactive UI, and protected content editing.

Vue & Laravel + Blade Portfolio Page

I wanted this project to have a folder structure I could navigate as the portfolio grew. It starts with a public page and adds an authenticated editor. The main choice was where each new feature should live, from page templates to validation and the API.

A folder structure organized by responsibility

Blade handles server-rendered views, Vue handles interactive UI, and Laravel keeps route definitions, controllers, and validation in their usual locations. Public pages and authenticated editing routes are defined in the web route layer. The API route file makes the data read and write operations easy to find independently of the templates.

PHP
use App\Http\Controllers\Api\ContactController;
use App\Http\Controllers\Api\WelcomeController;
use Illuminate\Support\Facades\Route;

Route::get('/skills', [WelcomeController::class, 'skills']);
Route::get('/projects', [WelcomeController::class, 'projects']);
Route::post('/contact', [ContactController::class, 'contact']);

Using the same content on both sides of the site

Projects and skills are content the visitor reads and the editor manages. The editor routes use Laravel authentication, and the public contact request has server-side validation. Keeping these rules on the server gives the public UI and management workflow a predictable boundary.

What I learned

Following the framework’s folder conventions made it easier to trace a feature from route to controller and view. That mattered once the project had both a reader-facing site and an editor.