<?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: Pasan Ranaweera</title>
    <description>The latest articles on Forem by Pasan Ranaweera (@pasan02).</description>
    <link>https://forem.com/pasan02</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%2F3068385%2F55801d44-f9fe-4223-97cb-b73e183999f5.png</url>
      <title>Forem: Pasan Ranaweera</title>
      <link>https://forem.com/pasan02</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/pasan02"/>
    <language>en</language>
    <item>
      <title>🚀 I Built a Simple Invoice Generator with Astro! [Feedback Welcome]</title>
      <dc:creator>Pasan Ranaweera</dc:creator>
      <pubDate>Mon, 05 May 2025 01:41:21 +0000</pubDate>
      <link>https://forem.com/pasan02/i-built-a-simple-invoice-generator-with-astro-feedback-welcome-1loo</link>
      <guid>https://forem.com/pasan02/i-built-a-simple-invoice-generator-with-astro-feedback-welcome-1loo</guid>
      <description>&lt;p&gt;Hey DEV community! 👋&lt;/p&gt;

&lt;p&gt;I've recently been working on a small project — a &lt;strong&gt;simple invoice generator&lt;/strong&gt; — and decided to build it using &lt;strong&gt;Astro&lt;/strong&gt;. I thought it would be fun to share my journey and gather some feedback from you all!&lt;/p&gt;




&lt;h2&gt;
  
  
  🛠 Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Astro&lt;/strong&gt;: Frontend framework for lightning-fast static sites&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vercel&lt;/strong&gt;: Hosting&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FormSubmit&lt;/strong&gt;: For handling the contact form without a backend&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🎯 Project Goal
&lt;/h2&gt;

&lt;p&gt;I wanted to build a lightweight tool where:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Users can quickly generate invoices&lt;/li&gt;
&lt;li&gt;No login/signup is required&lt;/li&gt;
&lt;li&gt;Users can &lt;strong&gt;download&lt;/strong&gt; or &lt;strong&gt;print&lt;/strong&gt; the invoices&lt;/li&gt;
&lt;li&gt;Optionally upload their &lt;strong&gt;company logo&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Simple and mobile-friendly UI&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No user data is stored — everything happens on the client side. 🔐&lt;/p&gt;




&lt;h2&gt;
  
  
  ✨ Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Add client and company information&lt;/li&gt;
&lt;li&gt;Add multiple invoice items&lt;/li&gt;
&lt;li&gt;Auto-calculates totals and taxes&lt;/li&gt;
&lt;li&gt;Upload a company logo (optional)&lt;/li&gt;
&lt;li&gt;Download or print the final invoice&lt;/li&gt;
&lt;li&gt;Contact form integrated using FormSubmit&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📸 Sneak Peek
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Flzj1u4whcpr6ig124iv0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Flzj1u4whcpr6ig124iv0.png" alt="Invoice Generator Screenshot" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  📬 Contact Form Setup
&lt;/h2&gt;

&lt;p&gt;I kept the project backendless by integrating &lt;a href="https://formsubmit.co/" rel="noopener noreferrer"&gt;FormSubmit&lt;/a&gt;, allowing form submissions to go directly to my inbox without needing to set up a custom server or API.&lt;/p&gt;




&lt;h2&gt;
  
  
  🌍 Live Demo
&lt;/h2&gt;

&lt;p&gt;🖥 &lt;a href="https://invoice-generator-two-steel.vercel.app/" rel="noopener noreferrer"&gt;Visit the Invoice Generator&lt;/a&gt;  &lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 Lessons Learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Astro is &lt;strong&gt;amazing&lt;/strong&gt; for building fast static websites&lt;/li&gt;
&lt;li&gt;Serverless services like FormSubmit make it easy to deliver functionality without backend code&lt;/li&gt;
&lt;li&gt;Designing for simplicity can be more challenging than adding complex features&lt;/li&gt;
&lt;li&gt;Client-side apps can be powerful without needing databases or user auth&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🙌 I'd Love Your Feedback!
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;What do you think about the UI/UX?&lt;/li&gt;
&lt;li&gt;Any features you'd suggest adding?&lt;/li&gt;
&lt;li&gt;If you have experience with Astro, what are your best practices?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for reading! 🚀&lt;br&gt;&lt;br&gt;
Looking forward to hearing your thoughts and ideas! 👇&lt;/p&gt;

</description>
      <category>astro</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
