New Project: Community Posting App
I’m building a new project using the Laravel framework, Vue.js and Laravel Octane. I saw a request for expertise in Laravel Lumen and Vue.js, and wanted to build something relevant to those technologies.
Per a note on Lumen’s installation docs, starting new projects in Lumen is no longer supported, in light of performance improvements made in PHP since the inception of Lumen and the development of Laravel Octane. I’m doing a deep dive into the performance enhancements made in PHP since Lumen came into existence, as well as how Octane has shifted the landscape away from Lumen. And I’m including Octane in lieu of Lumen in this new project.
The new project is a community posting app, similar to Reddit or Product Hunt.
One of the first decisions I had to make was how to incorporate Vue.js into the project. When it comes to using a front-end framework like Vue.js in Laravel, there are two ways to do it. Laravel has an asset bundling feature where you can build and serve CSS/JS produced by a front-end framework directly from your Laravel app. The other way is to build a single-page app (SPA) using the front-end framework, and use Laravel to build an API that powers the SPA. I’m doing a deep dive into each of these options, and I decided to use the SPA + API approach for this new demo app.
Check out the new project here.