<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Antonio Obradović</title>
    <description>The latest articles on Forem by Antonio Obradović (@antonioobra).</description>
    <link>https://forem.com/antonioobra</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F820632%2F8d38a164-9249-44e9-9641-d11ff6a2eb1c.png</url>
      <title>Forem: Antonio Obradović</title>
      <link>https://forem.com/antonioobra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/antonioobra"/>
    <language>en</language>
    <item>
      <title>My VSCode configuration for 2024</title>
      <dc:creator>Antonio Obradović</dc:creator>
      <pubDate>Tue, 23 Jan 2024 17:04:38 +0000</pubDate>
      <link>https://forem.com/antonioobra/my-vscode-configuration-for-2024-3al2</link>
      <guid>https://forem.com/antonioobra/my-vscode-configuration-for-2024-3al2</guid>
      <description>&lt;p&gt;After a year of looking at the default GitHub VSCode theme I had enough and decided to finally customize it to my liking. I was tired of looking at the same ugly font and colors and started exploring for some VSCode setups. &lt;/p&gt;

&lt;p&gt;Whilst exploring i stumbled upon a blog post by &lt;a href="https://www.nexxel.dev/blog/neovim-to-vscode"&gt;nexxel.dev&lt;/a&gt; where he talked about why he switched from Neovim back to VSCode and there I saw a screenshot of his configuration and wanted the same for myself. Thankfully he provided his whole configuration for VSCode and Neovim on his &lt;a href="https://github.com/nexxeln/dots/tree/main/Library/Application%20Support/Code%20-%20Insiders/User"&gt;GitHub&lt;/a&gt;. I've been using his configuration for about 2 months, and decided to customize it a bit more to my liking.&lt;/p&gt;

&lt;h3&gt;
  
  
  Main changes I made to my configuration
&lt;/h3&gt;

&lt;p&gt;The biggest thing that makes my configuration pop is font size and line height. I bumped them up quite a bit to get to my preferred sizes. With that VSCode already looks much better and with the addition of &lt;a href="https://philpl.gumroad.com/l/dank-mono"&gt;Dank Mono&lt;/a&gt; font it makes it complete. For the theme I use &lt;a href="https://marketplace.visualstudio.com/items?itemName=Avetis.tokyo-night"&gt;Tokyo Storm Gogh&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;You can find my full configuration on my &lt;a href="https://github.com/AntonioObra/dev-setup/blob/main/vscode/settings.json"&gt;GitHub&lt;/a&gt; and for all developers I recommend having a repository like this to have your configuration in one place if you ever need it, or can't login to your vscode on your job like me.&lt;/p&gt;

&lt;h3&gt;
  
  
  Zen Mode
&lt;/h3&gt;

&lt;p&gt;Possibly the best thing about VSCode for me is the zen mode. It allows me to have my file in the middle without any clutter, just my file, line numbers and that's it, if I need anything else I just shortcut my way to it. To enable zen mode you can either go to &lt;code&gt;View &amp;gt; Appearance &amp;gt; Zen Mode&lt;/code&gt; or use the shortcut &lt;code&gt;Ctrl + K Z&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx263chzmgmzh10clsdx3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx263chzmgmzh10clsdx3.png" alt="Zen mode" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Zen mode&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  What about Neovim?
&lt;/h3&gt;

&lt;p&gt;I've been watching a lot of &lt;a href="https://www.youtube.com/@devaslife"&gt;devaslife&lt;/a&gt; lately and seeing him code using Neovim has certainly made me want to try it, but I really like my VSCode configuration and feel very comfortable using it, although I do plan to try it in some distant future and possibly stick to it and replace VSCode for good.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;I recommend to everybody to not just change your VSCode theme, but to edit and customize more, to find something to your liking and something you like to look at, because if you are like me you are looking at that VSCode editor for 8 hours every single day, so make it pretty.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This article was originally posted on my personal blog &lt;a href="https://blog.obradovic.dev/"&gt;blog.obradovic.dev&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>vscode</category>
      <category>devjournal</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Development of the new Code Repo version</title>
      <dc:creator>Antonio Obradović</dc:creator>
      <pubDate>Fri, 12 Jan 2024 21:09:46 +0000</pubDate>
      <link>https://forem.com/antonioobra/development-of-the-new-code-repo-version-3kkg</link>
      <guid>https://forem.com/antonioobra/development-of-the-new-code-repo-version-3kkg</guid>
      <description>&lt;p&gt;The development of the new Code Repo version began about three weeks ago. Despite the holiday season with Christmas and New Year approaching, a significant amount of progress has been made, and the new version is already in good shape.&lt;/p&gt;

&lt;h2&gt;
  
  
  New tech stack
&lt;/h2&gt;

&lt;p&gt;In the spirit of exploration, I decided to venture into new technologies. For the frontend, I initially opted for Astro, a static site generator that I've been eager to try for a while. Unfortunately, my experience with Astro wasn't as smooth as expected. After struggling with user authentication implementation, I decided to switch back to Next.js. The intricacies of Astro, particularly with its use of nanostores and islands, was a bit too much for me and decided to go back to my comfort zone. Nevertheless, I plan to revisit Astro in the future, hoping for a better understanding.&lt;/p&gt;

&lt;p&gt;After a year of primarily working as a frontend developer, I aimed to return to backend development and finally embraced learning Go. Utilizing Fiber as the web framework with GORM, I found it to be a delightful stack, especially due to Fiber's resemblance to Express.js, a framework I've used in the past. Additionally, I integrated Supabase as the database. You might wonder why not use Supabase without Go and Fiber? Well, I wanted to learn Go and leverage Supabase, so I decided to combine the two.&lt;/p&gt;

&lt;h2&gt;
  
  
  Current progress
&lt;/h2&gt;

&lt;p&gt;The upcoming Code Repo version will feature sign-in and sign-up functionality. Users can save their preferred templates and resources for future use and explore a handy playground feature for code testing and output visualization.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiivyjpnp34evn4pbrrdr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiivyjpnp34evn4pbrrdr.png" alt="Sign in page of the new Code Repo version."&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Sign in page of the new Code Repo version.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Most of the development time was invested in creating backend functionality for sign-in and sign-up, including models, routes, and controllers. Working with Go and Fiber posed its challenges, but with the combined efforts ChatGPT and me, we navigated through them successfully.&lt;/p&gt;

&lt;p&gt;The frontend is still in its early stages, focusing primarily on login and signup pages and establishing user authentication. To achieve this, I utilized NextAuth.js, employing credentials provider and integrating it with my Go backend.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  User authentication&lt;/li&gt;
&lt;li&gt;    Supabase integration with Go&lt;/li&gt;
&lt;li&gt;    Configuration of models, routes, and controllers for the backend&lt;/li&gt;
&lt;li&gt;    Addition of guide models and routes&lt;/li&gt;
&lt;li&gt;    Addition of resource models and routes&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;The next steps involve empowering administrators to create resources and guides. Subsequently, we'll fetch all resources and guides and display them on the frontend. Following that, users will gain the ability to save their preferred resources and guides for future reference.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;You can also star the project on &lt;a href="https://github.com/AntonioObra/coderepo" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; and look through the code. If you find any bugs or have any suggestions, feel free to open an issue or a pull request.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;This article was originally posted on my personal blog &lt;strong&gt;&lt;a href="https://blog.obradovic.dev/" rel="noopener noreferrer"&gt;blog.obradovic.dev&lt;/a&gt;&lt;/strong&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>nextjs</category>
      <category>go</category>
    </item>
  </channel>
</rss>
