<?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>DEV Community: Anoop george</title>
    <description>The latest articles on DEV Community by Anoop george (@anoop_george).</description>
    <link>https://dev.to/anoop_george</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4062845%2F339ddaf5-8a4c-4112-addc-ef9d06a1598c.jpg</url>
      <title>DEV Community: Anoop george</title>
      <link>https://dev.to/anoop_george</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anoop_george"/>
    <language>en</language>
    <item>
      <title>I Got Tired of Rebuilding FastAPI Projects, So I Built FastStrapy</title>
      <dc:creator>Anoop george</dc:creator>
      <pubDate>Tue, 04 Aug 2026 16:42:34 +0000</pubDate>
      <link>https://dev.to/anoop_george/i-got-tired-of-rebuilding-fastapi-projects-so-i-built-faststrapy-18ml</link>
      <guid>https://dev.to/anoop_george/i-got-tired-of-rebuilding-fastapi-projects-so-i-built-faststrapy-18ml</guid>
      <description>&lt;p&gt;Every new FastAPI project started the same way.&lt;/p&gt;

&lt;p&gt;Create folders.&lt;/p&gt;

&lt;p&gt;Set up configuration.&lt;/p&gt;

&lt;p&gt;Add environment variables.&lt;/p&gt;

&lt;p&gt;Configure Alembic.&lt;/p&gt;

&lt;p&gt;Copy files from another repository.&lt;/p&gt;

&lt;p&gt;Repeat.&lt;/p&gt;

&lt;p&gt;It wasn't difficult—it was just repetitive. And after a while, every project looked slightly different because I was copying from different starting points.&lt;/p&gt;

&lt;p&gt;So I decided to automate the process.&lt;/p&gt;

&lt;p&gt;That's how &lt;strong&gt;FastStrapy&lt;/strong&gt; was born.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Goal
&lt;/h2&gt;

&lt;p&gt;I wanted a developer experience similar to &lt;strong&gt;create-next-app&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Instead of spending the first 20–30 minutes setting up a project, I wanted to run a command, answer a few prompts, and immediately start building the API.
&lt;/h2&gt;

&lt;p&gt;uvx faststrapy create-app&lt;/p&gt;




&lt;h2&gt;
  
  
  Designing the Architecture
&lt;/h2&gt;

&lt;p&gt;I wanted FastStrapy to be easy to extend as new features and templates are added.&lt;/p&gt;

&lt;p&gt;Instead of writing one large generator, I split the project into a few independent pieces.&lt;/p&gt;

&lt;h3&gt;
  
  
  ProjectConfig
&lt;/h3&gt;

&lt;p&gt;Everything begins with a typed &lt;code&gt;ProjectConfig&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The CLI collects user input once, validates it, and every generator works from that same configuration.&lt;/p&gt;

&lt;p&gt;Having a single source of truth makes the generation pipeline predictable and keeps components loosely coupled.&lt;/p&gt;




&lt;h3&gt;
  
  
  Registry-Based Generators
&lt;/h3&gt;

&lt;p&gt;Rather than maintaining a growing chain of conditionals, generators register themselves.&lt;/p&gt;

&lt;p&gt;When FastStrapy runs, it discovers the registered generators and executes them in order.&lt;/p&gt;

&lt;p&gt;Adding a new generator doesn't require modifying existing logic, which makes the architecture easier to maintain.&lt;/p&gt;




&lt;h3&gt;
  
  
  Jinja2 Templates
&lt;/h3&gt;

&lt;p&gt;Instead of constructing files in Python, FastStrapy renders Jinja2 templates.&lt;/p&gt;

&lt;p&gt;Templates can include conditional logic, allowing the generated project to adapt based on the selected options while keeping the generation code simple.&lt;/p&gt;




&lt;h3&gt;
  
  
  Typer CLI
&lt;/h3&gt;

&lt;p&gt;The command-line interface is built with Typer.&lt;/p&gt;

&lt;p&gt;Typed prompts and enums help validate input before generation begins, making the CLI easier to use and reducing invalid configurations.&lt;/p&gt;




&lt;h2&gt;
  
  
  Current Status
&lt;/h2&gt;

&lt;p&gt;FastStrapy is currently &lt;strong&gt;v0.1&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;There are plenty of features planned, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Better Alembic support&lt;/li&gt;
&lt;li&gt;Post-generation automation&lt;/li&gt;
&lt;li&gt;Docker improvements&lt;/li&gt;
&lt;li&gt;CI/CD templates&lt;/li&gt;
&lt;li&gt;Plugin support&lt;/li&gt;
&lt;li&gt;Additional project templates&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Open Source
&lt;/h2&gt;

&lt;p&gt;FastStrapy is MIT licensed and open source.&lt;/p&gt;

&lt;p&gt;If you're interested in Python, FastAPI, or developer tooling, I'd really appreciate your feedback.&lt;/p&gt;

&lt;p&gt;GitHub:&lt;br&gt;
&lt;a href="https://github.com/AnoopGeorge418/faststrapy" rel="noopener noreferrer"&gt;https://github.com/AnoopGeorge418/faststrapy&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;PyPI:&lt;br&gt;
&lt;a href="https://pypi.org/project/faststrapy/" rel="noopener noreferrer"&gt;https://pypi.org/project/faststrapy/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Whether it's opening an issue, suggesting an idea, or contributing code, every bit of feedback helps shape the project.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>backend</category>
      <category>cli</category>
      <category>python</category>
    </item>
  </channel>
</rss>
