<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Patricio on Code]]></title><description><![CDATA[Patricio on Code]]></description><link>https://blog.jpat.dev</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 20:07:33 GMT</lastBuildDate><atom:link href="https://blog.jpat.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Today I learned about JSONL format]]></title><description><![CDATA[Fun fact, while deep diving how Claude Code works, I realised some files were stored with a .jsonl format! What’s this, a typo?? 😀 Of course not…. It's a…]]></description><link>https://blog.jpat.dev/today-i-learned-about-jsonl-format</link><guid isPermaLink="true">https://blog.jpat.dev/today-i-learned-about-jsonl-format</guid><category><![CDATA[json]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[Programming Blogs]]></category><dc:creator><![CDATA[Patricio]]></dc:creator><pubDate>Wed, 08 Oct 2025 10:31:21 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/HfFoo4d061A/upload/671ef9bbe2438e69951bc95f98dc5afd.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Fun fact, while deep diving how Claude Code works, I realised some files were stored with a <code>.jsonl</code> format! What’s this, a typo?? 😀 Of course not….</p>
<p>It's a text format where each LINE is a valid JSON object. So why this and not just a JSON array?!</p>
<p>Regular JSON - one big array</p>
<pre><code class="lang-json">[
    {<span class="hljs-attr">"id"</span>: <span class="hljs-number">1</span>, <span class="hljs-attr">"name"</span>: <span class="hljs-string">"Alice"</span>},
    {<span class="hljs-attr">"id"</span>: <span class="hljs-number">2</span>, <span class="hljs-attr">"name"</span>: <span class="hljs-string">"Bob"</span>}
]
</code></pre>
<p>JSONL - one object per line</p>
<pre><code class="lang-json">{<span class="hljs-attr">"id"</span>: <span class="hljs-number">1</span>, <span class="hljs-attr">"name"</span>: <span class="hljs-string">"Alice"</span>}
{<span class="hljs-attr">"id"</span>: <span class="hljs-number">2</span>, <span class="hljs-attr">"name"</span>: <span class="hljs-string">"Bob"</span>}
</code></pre>
<p>Why?</p>
<p>- Logs and "file as database" -&gt; just append!</p>
<p>- Reading with stream: we can parse each line, one by one, immediately! A slightly different array of objects!</p>
<p>And much more possibilities, I’m sure!</p>
<p>There are some things to take in consideration:</p>
<ul>
<li><p>Not human-readable at a glance (no pretty formatting)</p>
</li>
<li><p>Can't have relationships between lines easily</p>
</li>
<li><p>Harder to edit manually</p>
</li>
<li><p>Less tooling support than regular JSON</p>
</li>
</ul>
<p>I hope you enjoyed this nugget!! Happy coding!</p>
]]></content:encoded></item><item><title><![CDATA[How to replace Tailwind v4 for v3 in Laravel Starter Kits, useful for Filament v3]]></title><description><![CDATA[This apply the dependencies transformations needed, and add the PostCSS config file needed. Let me know how it went 😃 Happy coding!]]></description><link>https://blog.jpat.dev/how-to-replace-tailwind-v4-for-v3-in-laravel-starter-kits-useful-for-filament-v3</link><guid isPermaLink="true">https://blog.jpat.dev/how-to-replace-tailwind-v4-for-v3-in-laravel-starter-kits-useful-for-filament-v3</guid><category><![CDATA[Laravel]]></category><category><![CDATA[filamentphp]]></category><dc:creator><![CDATA[Patricio]]></dc:creator><pubDate>Fri, 13 Jun 2025 14:37:36 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/xJL81AoWgUk/upload/ef8fbc88a6e7118cbfd81d50e3ece2c8.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This apply the dependencies transformations needed, and add the PostCSS config file needed.</p>
<pre><code class="lang-bash">npm remove @tailwindcss/vite

npm remove tailwindcss

npm install tailwindcss@3 @tailwindcss/forms

npm install postcss autoprefixer

cat &gt; postcss.config.js &lt;&lt; <span class="hljs-string">'EOF'</span>
<span class="hljs-built_in">export</span> default {
    plugins: {
        tailwindcss: {},
        autoprefixer: {},
    },
};
EOF
</code></pre>
<p>Let me know how it went 😃</p>
<p>Happy coding!</p>
]]></content:encoded></item><item><title><![CDATA[Launched an AI Application, Open-Source, Free, Bring Your AI key]]></title><description><![CDATA[Claude Code is fantastic, it does the same job I wanted to achieve with this. It’s a CLI instead of an UI, but it does 10x or 100x more than the current…]]></description><link>https://blog.jpat.dev/launched-an-ai-application-open-source-free-bring-your-key</link><guid isPermaLink="true">https://blog.jpat.dev/launched-an-ai-application-open-source-free-bring-your-key</guid><category><![CDATA[AI]]></category><category><![CDATA[#ai-tools]]></category><category><![CDATA[Laravel]]></category><dc:creator><![CDATA[Patricio]]></dc:creator><pubDate>Tue, 11 Feb 2025 02:01:39 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1739311444998/5bd25152-2756-4e78-a6ab-0c053fbccfb4.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2 id="heading-warning-i-just-deprecated-it">Warning: I just deprecated it.</h2>
<p>Claude Code is fantastic, it does the same job I wanted to achieve with this. It’s a CLI instead of an UI, but it does 10x or 100x more than the current application situation.</p>
<p>Get it here: <a target="_blank" href="https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview">https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview</a></p>
<h3 id="heading-the-original-post-for-reference">The original post, for reference:</h3>
<p>I know, AI is a big, overrated hype on a big percentage of the situations, I’m with you on that one, should that be the case! Fun fact: I write all of these words, I don’t have an AI writing for me!</p>
<p>BUT. A big BUT - pun unintended! There’s no denying that a developer (and other skills) who doesn’t adopt AI will eventually stay behind from one who does so. I’m not saying use an AI to develop an app just by speaking and waiting for the Holy Grail code that will solve all of that. No, no.</p>
<p>Mileage may vary. I think it’s a great fit for repetitive tasks, for errors, especially while learning a new skill, the AI which crunched billions of data points will provide you want you need to know, instead of that being your job fiddling with dozens of websites, forum posts, etc - instantly!</p>
<p>All this to say I’m launching this App, to adhere to what has been said.</p>
<p><a target="_blank" href="https://github.com/ijpatricio/rubberduck">Repository link</a></p>
<h2 id="heading-the-tldr">The TLDR</h2>
<p>TLDR: It’s a <a target="_blank" href="https://laravel.com/">Laravel</a> App, that runs natively on your computer (thanks <a target="_blank" href="https://nativephp.com/">NativePHP</a>), so you just open it, start a new Project a group of chats on a defined project folder - it can be in any language, AI will know!</p>
<p>As of today, you have to clone the repo, and run with <code>artisan serve</code> or <a target="_blank" href="https://herd.laravel.com/">Herd</a> , and you don’t have a Projects group, you just give the Project path in an environment variable.</p>
<p>It’s Open Source, free, and you bring your own API key - Anthropic only - aiming for Sonnet 3.5!</p>
<h2 id="heading-why-building-this">Why building this?</h2>
<p>There are many tools trying to help in this task, but they’re not helping e in the way I want. So, I built (started building) my own! Nuno on his stream inspired me to open-source it right away - I’d probably take months or if at all!</p>
<p>Examples of what I‘m saying:</p>
<ul>
<li><p>I want something hackable with code. I wan to be able to write my logic for stuff. Reuse that. I don’t mean changing the source code.</p>
<p>  Even after a Native App (install just like Chrome or Excel for example), I want a place to write some PHP/JS, and change how the scope is given to the AI.</p>
</li>
<li><p>I want to ask something about these 4 files: I have copy-paste them 1 by 1 to another app, or at best, pick them in a tree, mention them all</p>
<ul>
<li><p>No, I want to have something like “scopes”:</p>
<ul>
<li><p>Scope1 : <code>resources/views/**</code> , <code>resources/js/**</code></p>
</li>
<li><p>Scope2: <code>app/Models/**</code> <code>database/migrations/**</code></p>
</li>
</ul>
</li>
<li><p>I can make scopes based on file picking, or defining these patterns/glob/regex.</p>
<p>  I can then mention a <code>@scope1</code> andI want auto magically the thing to be there.</p>
<p>  No magic, just a replacement - That I can define how it happens!!!</p>
</li>
</ul>
</li>
<li><p>I want to edit the system instruction, according to the scope I’m using</p>
</li>
<li><p>I want to provide specific <code>Tools</code> to the AI. Check: <a target="_blank" href="https://docs.anthropic.com/en/docs/build-with-claude/tool-use">https://docs.anthropic.com/en/docs/build-with-claude/tool-use</a></p>
<ul>
<li><p>If you didn’t read, think of this as a plugin.</p>
<ul>
<li><p>Hey, AI, you can run <code>php artisan commands</code> , and the list of commands you can run are these, they do such and such, and the arguments are this and that.</p>
<p>  When I ask something to the AI, it can now decide to use such <code>Tool</code> and stop it’s message (with a <code>stop_reason</code> = <code>tool_use</code>), so that our software can run that tool for it, and provide the result. Only then the message will be completed later on.</p>
</li>
<li><p>AI, you can run artisan commands - (and provide the output of php artisan list)</p>
<ul>
<li>E.g.: Like the result of commands: <code>php artisan model:show</code></li>
</ul>
</li>
<li><p>AI, you can run bash commands</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p>I may want to send the file tree of the project (excluding vendor, node_modules, .git, etc), and instruct the AI: these are the project files, stop and ask me for any of those if relevant to figure the solution.</p>
</li>
</ul>
<p>The list can go on, and it will! RAG, Model Context Protocol, Agents. One can dream! Talk about scope creep, right??</p>
<blockquote>
<p>I just want to be with the feet in the ground, and I’m already making the task of asking the AI, the way I do, in a much convenient way, and with much richer information!</p>
</blockquote>
<p>So, like me, many others might benefit from the same solution!</p>
<h2 id="heading-how-does-it-look-what-does-it-do">How does it look, what does it do?</h2>
<p>We set an environment variable with the project path.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1739237866390/5b35709e-31b9-4e89-af57-bd2e6b9ffde7.png" alt class="image--center mx-auto" /></p>
<p>And edit rules files here, add as many as you want.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1739237564453/f168e67b-a066-4aee-b0c8-b8703d80658f.png" alt class="image--center mx-auto" /></p>
<p>And from there, we can start!! Just go to localhost:8000 (accordingly to Artisan server or Herd)</p>
<p>While still in development, already usable!</p>
<p>I press <code>#</code> and chose the rule file I want. On the new message, I press <code>@</code> to refer to the file.</p>
<p>Typically, we just press send. But I want to monitor the things, so I have a mid-step, prepare prompts.</p>
<p>Nothing comes to my mind better than showing on a video!</p>
<h2 id="heading-video-demo">Video demo</h2>
<iframe width="560" height="315" src="https://www.youtube.com/embed/iMX-JWvlWI4?si=OmUdswnhasNTeDce"></iframe>

<p>Ok, I reminded something better:</p>
<ul>
<li><p>Clone the repo and try for yourself! <a target="_blank" href="https://github.com/ijpatricio/rubberduck">Repository link</a></p>
</li>
<li><p>The “1 click install” native app will have to wait a while!</p>
</li>
</ul>
<p>I hope to see you soon!</p>
<p>Happy coding! (With AI)</p>
]]></content:encoded></item><item><title><![CDATA[Build custom components inside a Filament V3 Panel with Livewire and TailwindCSS]]></title><description><![CDATA[I know, Livewire and Tailwind are the base for Filament, and this tutorial is not any hidden gem, but my gut feeling tells me I should write it. It shows…]]></description><link>https://blog.jpat.dev/build-custom-components-inside-a-filament-v3-panel-with-livewire-and-tailwindcss</link><guid isPermaLink="true">https://blog.jpat.dev/build-custom-components-inside-a-filament-v3-panel-with-livewire-and-tailwindcss</guid><category><![CDATA[Laravel]]></category><category><![CDATA[filamentphp]]></category><category><![CDATA[Web Development]]></category><dc:creator><![CDATA[Patricio]]></dc:creator><pubDate>Wed, 09 Aug 2023 19:06:47 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1691605702295/6bdf5408-747f-41e5-8aa9-51585326c01a.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I know, Livewire and Tailwind are the base for Filament, and this tutorial is not any hidden gem, but my gut feeling tells me I should write it. It shows few steps of the docs, but many don't get there, and don't even know this is possible.</p>
<p>Filament V3 is a brilliant platform, base, foundation for writing Laravel Applications, with a taste of Low Code, because of the "Legos" ready out of the box, so you assemble your creation quicker than ever!</p>
<p>After this &lt; 5-7 min steps, we are back at writing an app just like we did before with Livewire and TailwindCSS, and "sitting on the shoulder of giants".</p>
<p>Let's go!!</p>
<p>The starting point is a Laravel 10 installation, with a Filament V3 default installation. You must have Node and NPM installed. (If you know your way around PNPM/Yarn you may install the JS dependencies manually)</p>
<p>Let's go to the terminal and run:</p>
<pre><code class="lang-bash">php artisan make:filament-theme
</code></pre>
<p>This will install the JS dependencies needed (<code>tailwindcss @tailwindcss/forms @tailwindcss/typography postcss autoprefixer</code>) and take prepare some files.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1691606724684/d3e5b577-9205-474c-9734-d6e3836f6a0a.png" alt class="image--center mx-auto" /></p>
<p>Like the instructions, add <code>resources/css/filament/admin/theme.css</code> entry to <code>vite.config.js</code></p>
<pre><code class="lang-bash">...
<span class="hljs-string">'resources/css/filament/admin/theme.css'</span>,
...
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1691606847979/5e7ef9b2-ac37-4b3f-a1c6-e5396cbd2f30.png" alt class="image--center mx-auto" /></p>
<p>And register this theme on the Panel's Provider <code>app/Providers/Filament/AdminPanelProvider.php</code> .</p>
<pre><code class="lang-bash">...
-&gt;viteTheme(<span class="hljs-string">'resources/css/filament/admin/theme.css'</span>)
...
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1691607027654/e18a4179-4be9-4bd5-9e06-e38b18d37caf.png" alt class="image--center mx-auto" /></p>
<p>We're using the default panel. V3 might have multiple. This will override the usage of the default theme, and include our custom build.</p>
<p>Let's add the Livewire folders because we want to use Livewire components in the default location - we might have inline views and view files.</p>
<pre><code class="lang-bash"><span class="hljs-comment"># resources/css/filament/admin/tailwind.config.js</span>

...
<span class="hljs-string">'./app/Livewire/**/*.php'</span>,
<span class="hljs-string">'./resources/views/livewire/**/*.blade.php'</span>,
...
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1691607286884/41f06dd1-96b3-4f1b-8dd0-f8db2db2e30f.png" alt class="image--center mx-auto" /></p>
<p>Now just run the JS build</p>
<pre><code class="lang-bash">npm run build
</code></pre>
<p>And that's it!! How simple was this?? You can <code>npm run dev</code> and have hot reloading, instant refresh on code changes!</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1691607863954/1c2e8705-32aa-4f9b-99a3-291761c09c8d.png" alt class="image--center mx-auto" /></p>
<p>Of course, you can do this in Widgets, but also in blank <a target="_blank" href="https://filamentphp.com/docs/3.x/panels/pages">Pages</a> where you can build whatever you want, however you want!!</p>
<p>Find below, a custom Counter, using Tailwind classes that aren't in the default admin panel CSS assets.</p>
<p>PS: I just built a new widget, as a plain Livewire component, like so:</p>
<pre><code class="lang-bash">php artisan make:filament-widget CounterWidget
</code></pre>
<p>And added it to the widgets in the Panel's ServiceProvider:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1691607580717/6f25c5aa-1d1e-4a9c-9dea-c7de023a961b.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1691608624922/e35024a6-83a9-4770-b1d4-902909dfc306.png" alt class="image--center mx-auto" /></p>
<p>Enjoy, happy building ❤️</p>
]]></content:encoded></item><item><title><![CDATA[Filament V3 - How to fill login automatically (local environment)]]></title><description><![CDATA[You're reading this, so you want the Login page ready to go in local environments, without having to type in a default user (configured in your seeder)…]]></description><link>https://blog.jpat.dev/filament-v3-how-to-fill-login-automatically-local-environment</link><guid isPermaLink="true">https://blog.jpat.dev/filament-v3-how-to-fill-login-automatically-local-environment</guid><category><![CDATA[Laravel]]></category><category><![CDATA[filamentphp]]></category><category><![CDATA[SaaS]]></category><category><![CDATA[app development]]></category><category><![CDATA[Web Development]]></category><dc:creator><![CDATA[Patricio]]></dc:creator><pubDate>Thu, 03 Aug 2023 10:26:22 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1691058298268/c6b162fd-664e-4a44-af5d-82c11c8ee4cd.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>You're reading this, so you want the Login page ready to go in local environments, without having to type in a default user (configured in your seeder). Let's go.</p>
<p>Let's create a Filament Page. Press &lt;enter&gt; for an empty answer, when asked if the page is for a resource.</p>
<pre><code class="lang-bash"><span class="hljs-comment"># Create the page</span>
php artisan make:filament-page Auth/Login

<span class="hljs-comment"># Remove the generated page view - we won't need it</span>
rm resources/views/filament/pages/auth/login.blade.php
</code></pre>
<p>Head to the <code>Login.php</code> page, and have this code inside. We will use the base Login page, and add the extra functionality of filling the form in the local environment.</p>
<p>Of course, adapt the credentials to the ones in your seeder.</p>
<pre><code class="lang-php"><span class="hljs-meta">&lt;?php</span>

<span class="hljs-keyword">namespace</span> <span class="hljs-title">App</span>\<span class="hljs-title">Filament</span>\<span class="hljs-title">Pages</span>\<span class="hljs-title">Auth</span>;

<span class="hljs-keyword">use</span> <span class="hljs-title">Filament</span>\<span class="hljs-title">Pages</span>\<span class="hljs-title">Auth</span>\<span class="hljs-title">Login</span> <span class="hljs-title">as</span> <span class="hljs-title">BasePage</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Login</span> <span class="hljs-keyword">extends</span> <span class="hljs-title">BasePage</span>
</span>{
    <span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">mount</span>(<span class="hljs-params"></span>): <span class="hljs-title">void</span>
    </span>{
        <span class="hljs-built_in">parent</span>::mount();

        <span class="hljs-keyword">if</span> (app()-&gt;environment(<span class="hljs-string">'local'</span>)) {
            <span class="hljs-keyword">$this</span>-&gt;form-&gt;fill([
                <span class="hljs-string">'email'</span> =&gt; <span class="hljs-string">'test@example.com'</span>,
                <span class="hljs-string">'password'</span> =&gt; <span class="hljs-string">'password'</span>,
                <span class="hljs-string">'remember'</span> =&gt; <span class="hljs-literal">true</span>,
            ]);
        }
    }
}
</code></pre>
<p>Next, let's go to the ServiceProvider of your panel. On a fresh install, this will be <code>app/Providers/Filament/AdminPanelProvider.php</code> .</p>
<p>Find the <code>login()</code> method, and add the Page as the argument. Find below a guide for that.</p>
<pre><code class="lang-php"><span class="hljs-comment">//(...)</span>
    -&gt;login(\App\Filament\Pages\Auth\Login::class)
<span class="hljs-comment">//(...)</span>
</code></pre>
<p>That's it! When you visit the Login page, it will be automatically filled!</p>
<p>Happy coding, enjoy!</p>
]]></content:encoded></item><item><title><![CDATA[Building a Wiki Software with Laravel and Filament]]></title><description><![CDATA[A Wiki Software, built with Laravel and TALL Stack]]></description><link>https://blog.jpat.dev/building-a-wiki-software-with-laravel-and-filament</link><guid isPermaLink="true">https://blog.jpat.dev/building-a-wiki-software-with-laravel-and-filament</guid><category><![CDATA[Laravel]]></category><category><![CDATA[Livewire]]></category><dc:creator><![CDATA[Patricio]]></dc:creator><pubDate>Mon, 27 Feb 2023 12:26:29 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1677586230670/eb418e61-4756-46a6-b09a-7cf4f42fe91e.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>For many reasons, now I have the availability to put my mind to building this solution.</p>
<p>It's now living in this <a target="_blank" href="https://github.com/ijpatricio/wikicenter">Github Repo</a>, and there are some <a target="_blank" href="https://www.youtube.com/playlist?list=PL2Njk5tK9lmuM5Oac06vxILXJvoYS3Qrs">Live Streamings</a> while coding it.</p>
<p>I started it a few months ago with a different stack. While I didn't have time to make more live streaming on this, I've been changing my stack opinion for this project.</p>
<p>I won't take much time. This post is an outline of what this solution is.</p>
<p>Well, you got it; it's Wiki Software. A wiki is a website or online resource that multiple users can edit.</p>
<p>We get numerous outputs from it:</p>
<ul>
<li><p>Documentation website (not static generated): may have a public part or be authenticated only, permission-based access, etc.</p>
</li>
<li><p>Knowledge base for company internal tools. Versioned controlled documents. Approval workflows.</p>
</li>
<li><p>Output to Web and PDF. Network publishing ensures that only published and approved versions are visited by such networks.</p>
</li>
<li><p>Web catalogs, eBooks</p>
</li>
<li><p>Custom forms, polls</p>
</li>
<li><p>Charts and Reports</p>
</li>
</ul>
<p>That's it, and I hope you enjoy it!</p>
<p>This is fully open-source software, MIT licensed.</p>
<p>Should you not know the TALL stack, it's an acronym for <a target="_blank" href="https://tailwindcss.com/">Tailwind</a>, <a target="_blank" href="https://alpinejs.dev/">AlpineJS</a>, <a target="_blank" href="https://laravel.com/">Laravel</a>, and <a target="_blank" href="https://laravel-livewire.com/">Livewire</a>.</p>
<p>This stack is permissive to receive browser components in another language, such as <a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/Web_Components">Web Components</a> or <a target="_blank" href="https://react.dev/">ReactJS</a> / <a target="_blank" href="https://vuejs.org/">VueJS</a> / other JS. Be mindful - not as a complete application (SPA), but as portions of the screen.</p>
<p>Not only this, a couple of picks take this rapid application development a step (or ten) further: <a target="_blank" href="https://filamentphp.com/">Filament</a>, <a target="_blank" href="https://github.com/z3d0x/filament-fabricator">Fabricator</a>, and <a target="_blank" href="https://spatie.be/open-source?search=&amp;sort=-downloads">Spatie packages</a>.</p>
<p>It will make use of Docker as a development and production artifact. It will also be possible to code with <a target="_blank" href="https://gitpod.io/">GitPod</a>, a cloud-based development environment; more on that later.</p>
<p>Here is the <a target="_blank" href="https://www.youtube.com/watch?v=aRI9-DzXOkI&amp;list=PL2Njk5tK9lmuM5Oac06vxILXJvoYS3Qrs">first video</a>, don't forget to like it if that's the case, and subscribe.</p>
<p>I hope all of this excites you, and let's keep you updated in the future!</p>
<p>Happy coding! 🚀</p>
]]></content:encoded></item><item><title><![CDATA[How to make Filament (V2) Login page automatically fill in a local environment]]></title><description><![CDATA[Basically, you need to control the Login page, so let's create one. Let's edit it so that we extend the base one \Filament\Http\Livewire\Auth\Login, and…]]></description><link>https://blog.jpat.dev/how-to-make-filament-v2-login-page-automatically-fill-in-a-local-environment</link><guid isPermaLink="true">https://blog.jpat.dev/how-to-make-filament-v2-login-page-automatically-fill-in-a-local-environment</guid><category><![CDATA[Laravel]]></category><category><![CDATA[filamentphp]]></category><dc:creator><![CDATA[Patricio]]></dc:creator><pubDate>Thu, 23 Feb 2023 13:22:59 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1677158886040/cb87f1b0-4283-4dfe-bd10-7dfa4e6eca0c.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Basically, you need to control the Login page, so let's create one.</p>
<pre><code class="lang-bash">php artisan make:filament-page Login
</code></pre>
<p>Let's edit it so that we extend the base one <code>\Filament\Http\Livewire\Auth\Login</code>, and override the base <code>mount</code> method, while conditionally pre-fill the form with convenient seed data.</p>
<pre><code class="lang-php"><span class="hljs-meta">&lt;?php</span>

<span class="hljs-keyword">namespace</span> <span class="hljs-title">App</span>\<span class="hljs-title">Filament</span>\<span class="hljs-title">Pages</span>;


<span class="hljs-keyword">use</span> <span class="hljs-title">Filament</span>\<span class="hljs-title">Facades</span>\<span class="hljs-title">Filament</span>;

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Login</span> <span class="hljs-keyword">extends</span> \<span class="hljs-title">Filament</span>\<span class="hljs-title">Http</span>\<span class="hljs-title">Livewire</span>\<span class="hljs-title">Auth</span>\<span class="hljs-title">Login</span>
</span>{
    <span class="hljs-keyword">public</span> <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">mount</span>(<span class="hljs-params"></span>): <span class="hljs-title">void</span>
    </span>{
        <span class="hljs-built_in">parent</span>::mount();

        <span class="hljs-keyword">if</span> (app()-&gt;environment(<span class="hljs-string">'local'</span>)) {
            <span class="hljs-keyword">$this</span>-&gt;form-&gt;fill([
                <span class="hljs-string">'email'</span> =&gt; <span class="hljs-string">'test@example.com'</span>,
                <span class="hljs-string">'password'</span> =&gt; <span class="hljs-string">'password'</span>,
                <span class="hljs-string">'remember'</span> =&gt; <span class="hljs-literal">true</span>,
            ]);
        }
    }
}
</code></pre>
<p>Don't forget to change the page to use for Login, using our own instead of the default. We do this in <code>config/filament.php</code> file:</p>
<pre><code class="lang-php"><span class="hljs-comment">// config/filament.php</span>
<span class="hljs-comment">// ...</span>
    <span class="hljs-string">'auth'</span> =&gt; [
        <span class="hljs-string">'guard'</span> =&gt; env(<span class="hljs-string">'FILAMENT_AUTH_GUARD'</span>, <span class="hljs-string">'web'</span>),
        <span class="hljs-string">'pages'</span> =&gt; [
            <span class="hljs-string">'login'</span> =&gt; \App\Filament\Pages\Login::class,
        ],
    ],
<span class="hljs-comment">//...</span>
</code></pre>
<p>If you don't have the config, just publish it by running:</p>
<pre><code class="lang-bash">php artisan vendor:publish --tag=filament-config
</code></pre>
<p>That's it! Let me know how it went for you. As for me, every little increment of UX/DX adds up over time, making it a gazillion times better!</p>
<p>Happy coding! 🚀</p>
]]></content:encoded></item><item><title><![CDATA[How to Dockerize a Laravel App to run in Laravel Forge]]></title><description><![CDATA[A guide to use Docker with Laravel Forge. Deploy VPS servers to run applications in the cloud with javascript laravel dotnet rust csharp PHP rails python]]></description><link>https://blog.jpat.dev/how-to-dockerize-a-laravel-app-to-run-in-laravel-forge</link><guid isPermaLink="true">https://blog.jpat.dev/how-to-dockerize-a-laravel-app-to-run-in-laravel-forge</guid><category><![CDATA[Docker]]></category><category><![CDATA[Laravel]]></category><category><![CDATA[Devops]]></category><dc:creator><![CDATA[Patricio]]></dc:creator><pubDate>Fri, 26 Aug 2022 18:10:56 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/unsplash/tjX_sniNzgQ/upload/v1661537790159/pynvPpFrd.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>So I'm almost sure you were already in the previous blog post. If not, you might want to visit <a target="_blank" href="https://blog.jpat.dev/how-to-deploy-docker-applications-with-laravel-forge">How to deploy Docker Applications with Laravel Forge</a>.</p>
<ul>
<li>Note: Servers for demo purposes are now deleted, which will break URLs in the screenshots</li>
</ul>
<p>This will be a "show by example", so let's build an App from scratch and deploy it!</p>
<h3 id="heading-have-your-application-ready">Have your application ready</h3>
<p>Let's make a fresh Laravel Application with Sail Builder</p>
<pre><code class="lang-bash">curl -s <span class="hljs-string">"https://laravel.build/example-docker-forge?with=mysql,redis"</span> | bash

<span class="hljs-built_in">cd</span> example-docker-forge

sail up -d
</code></pre>
<p>When it finishes, you should be up and running! 🚀</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661534775194/vS4N5fI1N.png" alt="image.png" /></p>
<h3 id="heading-lets-get-some-more-docker-magic-into-it">Let's get some more Docker magic into it!</h3>
<p>So now, let's make this really easy, by using a package I built. Run the following commands:</p>
<pre><code class="lang-bash">composer require ijpatricio/docker-for-forge --dev

php artisan dockerEnv:install
</code></pre>
<p>It will ask you a few questions:</p>
<ul>
<li><code>App Domain</code>: The host that will be registered with Traefik, routing requests from such host to that container (service).</li>
<li><code>App Name</code>  and <code>Vendor Name</code> are used to populate the <code>docker-compose.yml</code></li>
</ul>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661535031750/S4__iVgIp.png" alt="image.png" /></p>
<p>For the time being, it makes a single container, with <code>Supervisor</code> (as in Laravel Sail) guaranteeing the webserver running (Nginx), the PHP interpreter (PHP-fpm), and cron (scheduling). Take into consideration using this "as-is" just with a single container. 
More complex scenarios are possible; this is keeping everything simple for the sake of understanding the basics!</p>
<p>I could go into details, but everything is taken care of regarding permissions so that <code>Laravel Forge</code> can read the logs in the UI, we can mount a storage folder, can run commands, and more. Maybe in another post, I could explain things further!</p>
<p>The build will use multiple steps, keeping the image lean. Builds frontend, installs composer dependencies, and more. The sensible basics have been covered. Customize at taste!</p>
<p>Also, <code>.env</code> variables can be used to change some values, but I kept things in the repo for simplicity.</p>
<p>Before committing the code, let's do one more thing:</p>
<pre><code class="lang-bash">mv docker-compose.yml docker-compose.dev.yml

<span class="hljs-built_in">echo</span> <span class="hljs-string">"docker-compose.yml"</span> &gt;&gt; .gitignore
</code></pre>
<p>This is so that each environment will use a specific <code>docker-compose</code>. For example, we locally have a database, but in production, we most likely have that service separated in another VPS.</p>
<p>Commit your code, let's deploy!</p>
<h3 id="heading-on-to-laravel-forge">On to Laravel Forge</h3>
<p>Back on the UI, let's add a website. </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661536024450/ym_t5uSRF.png" alt="image.png" /></p>
<p>And we should get something like this. Use your repository. Un-check "Install Composer Dependencies".</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661536156995/T5m1RMs13.png" alt="image.png" /></p>
<p>We arrive on the <code>App</code> tab. We now change the deploy script accordingly.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661537028321/nfm_sj4S5.png" alt="image.png" /></p>
<p>And here is the code:</p>
<pre><code class="lang-bash"><span class="hljs-built_in">cd</span> /home/forge/example-docker-forge

git pull origin <span class="hljs-variable">$FORGE_SITE_BRANCH</span>

cp docker-compose.prod.yml docker-compose.yml

docker-compose build

docker-compose up -d --remove-orphans

<span class="hljs-comment"># Run commands as `forge` user, not `root`</span>
<span class="hljs-keyword">function</span> forgeCmd {
    docker-compose <span class="hljs-built_in">exec</span> example-docker-forge bash -c <span class="hljs-string">"gosu forge bash -c \"<span class="hljs-variable">$@</span>\""</span>
}

<span class="hljs-comment"># Run this just the first time, so it doesn't keep changing</span>
forgeCmd <span class="hljs-string">"php artisan key:generate"</span>

<span class="hljs-comment"># add route cache, db migrate, and your other commands as you see fit!</span>
<span class="hljs-comment"># forgeCmd "php artisan migrate --force"</span>
</code></pre>
<p>Check that environment variables are properly set!</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1662099026410/qm8dWgQoD.png" alt="image.png" /></p>
<p>The build can now run!</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661536743473/cwL5_0flf.png" alt="image.png" /></p>
<p>Ta-daaaa 🚀</p>
<p>Logs are available from the UI:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661537135637/ElIhrBYba.png" alt="image.png" /></p>
<p>Storage folder is mounted into the container. This app has its own instance of Redis, so no need for prefixes and so on!</p>
<p>And of course, our website is live, and SSL secured:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661537338817/6YQYN26zL.png" alt="image.png" /></p>
<p>Happy coding, happy deploys 😃</p>
]]></content:encoded></item><item><title><![CDATA[How to deploy Docker Applications with Laravel Forge]]></title><description><![CDATA[A guide to use Docker with Laravel Forge. Deploy VPS servers to run applications in the cloud with javascript laravel dotnet rust csharp PHP rails python]]></description><link>https://blog.jpat.dev/how-to-deploy-docker-applications-with-laravel-forge</link><guid isPermaLink="true">https://blog.jpat.dev/how-to-deploy-docker-applications-with-laravel-forge</guid><category><![CDATA[Docker]]></category><category><![CDATA[Laravel]]></category><category><![CDATA[Devops]]></category><category><![CDATA[Node.js]]></category><category><![CDATA[JavaScript]]></category><dc:creator><![CDATA[Patricio]]></dc:creator><pubDate>Fri, 26 Aug 2022 11:14:16 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/unsplash/HjBOmBPbi9k/upload/v1661512240491/J-IdoNDfj.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Most likely, if you’re reading this, you are a <a target="_blank" href="https://forge.laravel.com/">Laravel Forge</a> user. Probably, also a Docker user or with interest in it. I was a happy Forge user for a long time in a row until I started using Docker, learned a bunch of its advantages, and ultimately fell in love with such.</p>
<p>Why use Docker for development and deployments, you may ask? I have a bunch of good reasons I could share, but that will be in another post.</p>
<h4 id="heading-pre-requisites-for-this-guide">Pre-requisites for this guide</h4>
<ul>
<li>You know what <a target="_blank" href="https://forge.laravel.com/">Laravel Forge</a> is and you are familiar with hosting web applications (notion of server, DNS, )</li>
<li>You use <a target="_blank" href="https://www.docker.com/">Docker</a> or <a target="_blank" href="https://laravel.com/docs/sail">Laravel Sail</a> (which is a CLI and Docker environment for Laravel)</li>
<li>Servers for demo purposes are now deleted, which will break URLs in the screenshots</li>
</ul>
<h3 id="heading-show-me-how-to-get-started">Show me how to get started!</h3>
<p>First things first, let's provision a server.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661494531205/rJU-ot0j7.png" alt="image.png" /></p>
<p>The relevant thing to learn here is to choose a <code>Worker Server</code>. This is because we want the server as clean as possible and ports 80 and 443 available for web hosting. All other VPS options can be sized per your needs.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661494406893/ufJOsdrpa.png" alt="image.png" /></p>
<p>So, in a matter of minutes, we have our newly provisioned server! We also know its IP address, so it's time to make the DNS records and point the desired domains to such IP address.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661502921111/qUVfUjGuN.png" alt="image.png" /></p>
<p>I ended up doing this demo for the blog post with <code>forge-docker-app.jpat.dev</code> and <code>forge-docker-traefik.jpat.dev</code>, and we will see why in a minute.</p>
<p>So now we need Docker installed in our VPS. We can accomplish this very easily by adding a <code>Recipe</code>. Lets do just that and run it in our VPS.
<a target="_blank" href="https://github.com/ijpatricio/docker-for-forge/blob/main/resources/forge-recipe.sh">Copy source code from here</a></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661503626310/HC7UE5Qhb.png" alt="image.png" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661503522762/xCJloYq2o.png" alt="image.png" /></p>
<p>By now, we can see the recipe log, or SSH into our server and check <code>Docker</code> and <code>Docker Compose</code> are installed! 🚀</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661503869093/4Zsck5onQ.png" alt="image.png" class="image--center mx-auto" /></p>
<h3 id="heading-we-are-now-ready-to-host-docker-containers-and-composes">We are now ready to host Docker containers and Composes</h3>
<p>So now we are going to install a "web server", which is <a target="_blank" href="https://traefik.io">Traefik</a>. It's not exactly a webserver; think of this like a Router in your Laravel application. It will take care of the server ports 80 and 443, handle SSL with <code>Let's Encrypt</code> automatically, and point the requests to the right Docker application.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661505042743/xHLBp_bGr.png" alt="image.png" /></p>
<p>In the simple diagram, we can see a VPS running four containers: Traefik and three containerized apps. For this example, they would be all accessible from the outside, redirecting to SSL if needed and routing the request depending on the required host. It's a very simplified version and much more can happen. Let's keep it like this for simplicity's sake!</p>
<h3 id="heading-our-entry-point-to-the-apps-traefik">Our entry point to the Apps: Traefik</h3>
<p>We can use this repository <a target="_blank" href="https://github.com/ijpatricio/traefik-for-forge">ijpatricio/traefik-for-forge</a> as is; it's meant to be used by this "common use-case", but of course, feel free to fork, use and customize.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661505615099/A14DGX5EY.png" alt="image.png" /></p>
<p>In Forge, inside our server, we go to create a new site, <code>Traefik</code>. </p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661505709512/-ZYuku-gx.png" alt="image.png" /></p>
<p>Now we install the repository and leave "Install Composer Dependencies" unchecked.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661505840696/CclALtvGZ.png" alt="image.png" /></p>
<p>We now have a freshly installed repo! Now let's do some preparations. We can SSH into the machine and run the commands in the site's directory or run right from the <code>Commands</code> in the Forge UI. I absolutely recommend SSH into the machine and running it from there.</p>
<pre><code>docker network ls | grep web || docker network <span class="hljs-keyword">create</span> web

cd ~/traefik 

cp .env.example .env

cp docker-compose.prod.yml docker-compose.yml

<span class="hljs-comment"># Choose a username and a strong password</span>
./Taskfile auth username <span class="hljs-keyword">password</span>
</code></pre><p>Let's now fill the environment variables in the Forge UI. Example below.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661511491818/ai8QUmtFE.png" alt="image.png" /></p>
<p>We also need to change the deploy script to:</p>
<pre><code>cd <span class="hljs-operator">/</span>home<span class="hljs-operator">/</span>forge<span class="hljs-operator">/</span>traefik

git pull origin $FORGE_SITE_BRANCH

cp docker<span class="hljs-operator">-</span>compose.prod.yml docker<span class="hljs-operator">-</span>compose.yml

docker<span class="hljs-operator">-</span>compose up <span class="hljs-operator">-</span>d <span class="hljs-operator">-</span><span class="hljs-operator">-</span>remove<span class="hljs-operator">-</span>orphans
</code></pre><p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661508313462/Zx8ytvvQE.png" alt="image.png" /></p>
<p>It should now look something like the above. We can press <code>Deploy now</code>.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661508378055/IGB2qWWT5.png" alt="image.png" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661508457600/1DVI9rb4k.png" alt="image.png" /></p>
<p>With any luck, deploy must be complete now, and the deploy log will look something like the above, and a <code>docker ps</code> on the machine will show the running container, and mapped ports :)</p>
<p>Furthermore, we can visit <code>https://forge-docker-traefik.jpat.dev/</code> and check that is password protected.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661511611900/EdSeX6iX4.png" alt="image.png" /></p>
<p>After entering credentials, we have our SSL secured Traefik dashboard.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1661511678040/4gRVH2hxK.png" alt="image.png" /></p>
<h3 id="heading-deploying-dockerized-applications">Deploying Dockerized Applications</h3>
<p>Woohooo!! Glad you made it so far! By now, we can already deploy applications just by using a <code>docker-compose.yml</code> file!</p>
<p>From here, we can use public images or adds login(s) to use with private registries.</p>
<p>Here, continue the journey on <a target="_blank" href="https://blog.jpat.dev/how-to-dockerize-a-laravel-app-to-run-in-laravel-forge">How to Dockerize a Laravel App to run in Laravel Forge</a>.</p>
<p>Happy coding, happy deploys!!</p>
<p>Patricio</p>
]]></content:encoded></item><item><title><![CDATA[This is not your typical tutorial - Web Portal with Vue, Nuxt, Vuetify, Laravel, and Docker]]></title><description><![CDATA[Development of a full-stack application with "renderless" components library, from development to production.]]></description><link>https://blog.jpat.dev/this-is-not-your-typical-tutorial-web-portal-with-vue-nuxt-vuetify-laravel-and-docker</link><guid isPermaLink="true">https://blog.jpat.dev/this-is-not-your-typical-tutorial-web-portal-with-vue-nuxt-vuetify-laravel-and-docker</guid><category><![CDATA[Laravel]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[Vue.js]]></category><category><![CDATA[Nuxt]]></category><category><![CDATA[Vuetify]]></category><dc:creator><![CDATA[Patricio]]></dc:creator><pubDate>Fri, 08 Jul 2022 08:54:04 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1657264019438/dMBDHC-jm.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hey everyone!</p>
<blockquote>
<p>TLDR; If you're looking for the table of contents, it's down below!</p>
</blockquote>
<p>Today we're kicking off a starter kit that you will be able to use for internal tools, authenticated client areas, client accounts, CRM, and those sorts of things. Hopefully, we'll build it all together, live on <a target="_blank" href="https://www.youtube.com/channel/UCTVujeJyggsTZnlnsdaP0dQ">Youtube Channel</a>!</p>
<p>So what's so special about another starter kit?? Well, apart from other strong points, is that it will use "renderless" UI components.</p>
<blockquote>
<p>And what does that even mean? You might ask!</p>
</blockquote>
<p>I'm so glad you asked it! 😀
There's no established definition for now, and different naming may occur for the same concept. Essentially, is that the "renderless" library will have the code for behaviour, and but the one for the looks, is just a starting point, you might change that as per your need! Complex UI components that interact with a server, can be easily customized, no only by changing CSS, but the whole HTML+CSS+JS.</p>
<p>We'll get into that later, the post is not about this topic, but I sure do hope you like the idea!</p>
<h3 id="heading-the-application-and-its-recipe">The application and its recipe</h3>
<p>It's a full-stack web application, meaning you'll get a browser and server-side app, database, cache, and queue. And it's not the typical starter kit. I will take this from the ground up, right from the scratch, have a development environment, then a production environment, and of course, we have to monitor and track bugs in both front and backend!</p>
<p>It's the only the way I see for a "From Zero to Hero" 🚀 </p>
<p>We will count on the help of tools such as <a target="_blank" href="https://vuejs.org/">Vue</a>, <a target="_blank" href="https://vuetifyjs.com/">Vuetify</a>, <a target="_blank" href="https://nuxtjs.org/">Nuxt</a> and more on the frontend!</p>
<p>On the backend, we'll rely on <a target="_blank" href="https://laravel.com/">Laravel</a>, which itself is an ecosystem of application components, more than a framework. We will develop and deploy the whole thing to production using <a target="_blank" href="https://www.docker.com/">Docker</a>.</p>
<p>I won't go into many details about all the tooling, for now, I'm pretty sure if you're reading, you might know all of them, and I trust the <em>gazillions</em> of resources about them. A unique side is the combination of all tools, taking you on a journey from zero to production and maintenance!</p>
<p>If you lack the time or motivation to learn how to combine all of these techs, then this is the place. You can use as-is, or also customize something as you see fit.</p>
<h3 id="heading-the-scope">The scope</h3>
<p>As previously explained, this is more of a starter kit, with a library of components to use, so that you can build what <strong>you need</strong> and not a final application that you could tweak or distort!
Even so, we have to have something built, to grasp concepts, and this will be an Organization's Internal Portal, like an Intranet, which may have various areas. This will allow for great flexibility in use cases, for the widgets or  “pieces of application” (components).</p>
<ul>
<li>Internal Tool, a restricted area with user credentials<ul>
<li>Newsfeed</li>
<li>Schedules</li>
<li>Vacations<ul>
<li>Vacation requirement</li>
</ul>
</li>
<li>Rooms</li>
</ul>
</li>
<li>Tasks, team organization</li>
<li>Contact Lists</li>
<li>Shared Files</li>
</ul>
<p>This is just indicative, things may vary. The goal is to have a rich and fully customizable set of components.</p>
<p>During the live, some inspiration came and the name <em>Epicenter</em> came up! So here is the <a target="_blank" href="https://github.com/ijpatricio/epicenter">Source code link on Github</a>, which is open source and MIT license.</p>
<h3 id="heading-lets-dive-into-creating-the-project-video-timestamps">Let’s dive into creating the project! Video timestamps</h3>
<ul>
<li><a target="_blank" href="https://youtu.be/lRoiDIgbqHs?t=791">Brainstorming and Examples of Portals Internal Tools</a></li>
<li><a target="_blank" href="https://youtu.be/lRoiDIgbqHs?t=1158">Let's get help from a UI framework - Meet Vuetify</a></li>
<li><a target="_blank" href="https://youtu.be/lRoiDIgbqHs?t=1450">Not only Vue, but also Nuxt - high level framework</a></li>
<li><a target="_blank" href="https://youtu.be/lRoiDIgbqHs?t=1623">Laravel and API with Laravel Sanctum</a></li>
<li><a target="_blank" href="https://youtu.be/lRoiDIgbqHs?t=2392">Inspiration for naming the project</a></li>
<li><a target="_blank" href="https://youtu.be/lRoiDIgbqHs?t=2989">Install Laravel and configure Docker and its integration with Project</a></li>
<li><a target="_blank" href="https://youtu.be/lRoiDIgbqHs?t=4653">Install Laravel Breeze API</a></li>
<li><a target="_blank" href="https://youtu.be/lRoiDIgbqHs?t=5418">Next steps for the next stream</a></li>
</ul>
<h3 id="heading-happy-coding">Happy coding!</h3>
<p>As always happy coding, friends!!</p>
<p>See you soon, much love  ❤️ </p>
]]></content:encoded></item><item><title><![CDATA[Another blog?? Oh no! But wait, what to expect?]]></title><description><![CDATA[I have a dream: everyone in the world has the option to make a living through computer programming, from anywhere, anytime. I could tell you my story, but…]]></description><link>https://blog.jpat.dev/another-blog-oh-no-but-wait-what-to-expect</link><guid isPermaLink="true">https://blog.jpat.dev/another-blog-oh-no-but-wait-what-to-expect</guid><category><![CDATA[Web Development]]></category><category><![CDATA[Docker]]></category><category><![CDATA[technology]]></category><dc:creator><![CDATA[Patricio]]></dc:creator><pubDate>Fri, 08 Apr 2022 11:05:38 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1649409448542/XSZH5OWj5.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<blockquote>
<p>I have a dream: everyone in the world has the option to make a living through computer programming, from anywhere, anytime.</p>
</blockquote>
<p>I could tell you my story, but I will leave that for a future post! Pinky swear! ☝️ Also, let's just pretend that is a pinky!</p>
<p>TLDR; I will show you a way to <strong>create a full solution</strong>, on building a <strong>web application</strong>, with a <strong>smile on your face</strong>, using tools that allow you to be <strong>very fast, from idea, to live launch</strong>, and to <strong>support the whole application life!</strong></p>
<p>This being around:</p>
<ul>
<li><strong>Laravel Nova</strong></li>
<li><strong>Docker</strong></li>
</ul>
<p>Ok, to the blog post!</p>
<p>As it seems, I'm not the only one that had a ZX Spectrum as the first computer and wrote the first program in a calculator (OMG! I don't want to do the math, how many years have passed!!). These were exactly the models I had. Thanks, mom and dad!!</p>
<div class="flex flex-wrap justify-center">
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1649409448542/XSZH5OWj5.png" alt="image.png" />
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1649409724283/e9w8z87Tm.png" alt="image.png" />
</div>


<p>Having a massive passion for creating stuff in general (better if complex problems) and technology, it seems to me so logical that the taste for developing applications in a rapid way was always a constant in my journey. The tricky part is that they generally throw a wall at us when we want to have the full power of customization. Because yes, we all know in real life, beyond "Blog" and "To-do" apps, things get really tricky, really fast.</p>
<p>The thing that really clicked for me is <a target="_blank" href="https://nova.laravel.com/">Laravel Nova</a>.
It's an "Administration Panel" for Laravel apps, co-authored by the creator of Laravel.</p>
<p>Just look at how cool it looks:
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1649415742263/F3b8Ubh4d.png" alt="image.png" /></p>
<p>Despite being amazing at what it promises to do, it's not an application builder by default, so it has its downsides, like just anything in life. Pros and cons. Always.</p>
<p>But, but(!), this is <strong>the solution</strong> where I found the most productive experience while keeping the lowest friction in several key points:</p>
<ul>
<li>When switching between projects (that both have Nova)</li>
<li>When wanting to distribute (privately or publicly) a <strong>"full-stack component"</strong></li>
<li>When wanting to have a marketplace and get a ready component to use</li>
</ul>
<p>I will expand on these, and grow a list of advantages I find that are way above any other option I've tried.</p>
<div class="flex flex-wrap justify-center">
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1649413648909/NYBg4LuoP.png" alt="image.png" />
</div>

<p>Ok, so we can have ourselves an application real quick, because there's a way. But this is not enough, we have to deploy it somewhere, somehow, don't we?!</p>
<div class="flex flex-wrap justify-center">
<img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1649413842118/dEHak0ki9.png" alt="image.png" />
</div>

<p>Right, and in 2022 there are way too many options, which might come as daunting! Relax, sit tight, because I'm not here to discuss what is the better one!</p>
<p>What I can tell you is that adopting or using Docker is one of the best things you can do! I'll expand on that too, later.</p>
<p>But rest assured, if you do, you are so much ready to:</p>
<ul>
<li>Deploy anywhere. In your local machine, in a bare metal server, in a 5$/mo VPS, in a cluster of VPS, in a managed service like Laravel Vapor, AWS, Digital Ocean, and so much more!</li>
<li>Configure environments of CI/CD. Think Github Actions, Gitlab CI/CD, Bitbucket Pipelines, and more!</li>
<li>Peace of mind about environment. Just with a few text files (which live inside your project) you get the full setup for development, production, CI, all of it. Revisit older projects and all is there, conveniently.</li>
<li>...</li>
</ul>
<p>I have to stop here. There are so many advantages in learning this tool, that I will have to expand later, and yes, expect content on that, for sure!</p>
<p>Thank you for reading, and please, don't be shy, let me know your thoughts, feedback, anything!!</p>
<p>Happy coding!</p>
<p>Patricio</p>
]]></content:encoded></item></channel></rss>