<?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: Youssef Selk</title>
    <description>The latest articles on Forem by Youssef Selk (@ussfslk).</description>
    <link>https://forem.com/ussfslk</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%2F3889825%2F0df16fcc-fe18-41aa-9df2-470a7fbcf36d.jpg</url>
      <title>Forem: Youssef Selk</title>
      <link>https://forem.com/ussfslk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ussfslk"/>
    <language>en</language>
    <item>
      <title>I built create-fast-express-structure to stop rebuilding the same Express setup every time</title>
      <dc:creator>Youssef Selk</dc:creator>
      <pubDate>Wed, 22 Apr 2026 03:46:48 +0000</pubDate>
      <link>https://forem.com/ussfslk/i-built-create-fast-express-structure-to-stop-rebuilding-the-same-express-setup-every-time-338p</link>
      <guid>https://forem.com/ussfslk/i-built-create-fast-express-structure-to-stop-rebuilding-the-same-express-setup-every-time-338p</guid>
      <description>&lt;p&gt;Every time I started a new Express.js project, I ended up repeating the same work.&lt;/p&gt;

&lt;p&gt;Create the folders.&lt;br&gt;
Set up app.ts, server.ts, and index.ts.&lt;br&gt;
Choose between TypeScript or JavaScript.&lt;br&gt;
Deal with ESM vs CommonJS.&lt;br&gt;
Add linting, formatting, testing, env files, security middleware, database starter, auth starter, and then fix the small things that always break the flow.&lt;/p&gt;

&lt;p&gt;So I decided to build a CLI for it.&lt;/p&gt;

&lt;p&gt;create-fast-express-structure is a production-focused scaffolder for Express.js apps with a clean MVC structure and optional features you can actually choose based on your project.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why I made it
&lt;/h2&gt;

&lt;p&gt;A lot of generators either feel too minimal or too opinionated.&lt;/p&gt;

&lt;p&gt;Sometimes you just want:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a solid MVC base&lt;/li&gt;
&lt;li&gt;clean structure&lt;/li&gt;
&lt;li&gt;good defaults&lt;/li&gt;
&lt;li&gt;optional add-ons only when you need them&lt;/li&gt;
&lt;li&gt;a setup that does not look like a toy project&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted something that works for real projects, not just hello-world demos.&lt;/p&gt;
&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;With one command, you can generate an Express.js project with support for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;TypeScript or JavaScript&lt;/li&gt;
&lt;li&gt;ES Modules or CommonJS&lt;/li&gt;
&lt;li&gt;minimal MVC structure by default&lt;/li&gt;
&lt;li&gt;optional security middleware&lt;/li&gt;
&lt;li&gt;optional Tailwind + EJS views&lt;/li&gt;
&lt;li&gt;optional JWT auth starter and RBAC&lt;/li&gt;
&lt;li&gt;optional MongoDB/Mongoose or PostgreSQL with Prisma or Drizzle&lt;/li&gt;
&lt;li&gt;optional Vitest or Jest&lt;/li&gt;
&lt;li&gt;optional ESLint or Biome&lt;/li&gt;
&lt;li&gt;Prettier, Docker, Git, Husky, Commitlint&lt;/li&gt;
&lt;li&gt;dry-run, skip-install, presets, and CI-friendly flags&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Example usage
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm create fast-express-structure@latest my-ap
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Or with more control:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx create-fast-express-structure my-api &lt;span class="nt"&gt;--template&lt;/span&gt; secure-api &lt;span class="nt"&gt;--language&lt;/span&gt; ts &lt;span class="nt"&gt;--module&lt;/span&gt; esm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A few more examples:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;fes my-api &lt;span class="nt"&gt;--yes&lt;/span&gt; &lt;span class="nt"&gt;--skip-install&lt;/span&gt;
fes my-api &lt;span class="nt"&gt;--auth&lt;/span&gt; &lt;span class="nt"&gt;--validation&lt;/span&gt; &lt;span class="nt"&gt;--rate-limit&lt;/span&gt; &lt;span class="nt"&gt;--env&lt;/span&gt;
fes data-api &lt;span class="nt"&gt;--db&lt;/span&gt; postgresql &lt;span class="nt"&gt;--orm&lt;/span&gt; prisma &lt;span class="nt"&gt;--env&lt;/span&gt; &lt;span class="nt"&gt;--no-tailwind&lt;/span&gt;
fes my-api &lt;span class="nt"&gt;--dry-run&lt;/span&gt; &lt;span class="nt"&gt;--template&lt;/span&gt; mvc-full
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Something I cared about a lot
&lt;/h2&gt;

&lt;p&gt;I did not want the CLI to dump everything into the project whether the user needs it or not.&lt;/p&gt;

&lt;p&gt;So the prompts are dynamic.&lt;/p&gt;

&lt;h2&gt;
  
  
  I’d love honest feedback
&lt;/h2&gt;

&lt;p&gt;I’m still improving it, and I’d really like feedback from people who build Express APIs in real projects.&lt;/p&gt;

&lt;p&gt;What would you expect from a scaffolding tool like this?&lt;br&gt;
What is always missing in most Express starters?&lt;/p&gt;

&lt;p&gt;If you do not choose auth, it does not keep asking auth-related questions.&lt;br&gt;
If you do not want Tailwind or views, it skips that path.&lt;br&gt;
If you want TypeScript, it integrates it through my fast-ts-integrator setup.&lt;/p&gt;

&lt;p&gt;The goal was simple: keep the experience clean, but still powerful.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;NPM:&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;https://www.npmjs.com/package/create-fast-express-structure&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt;&lt;br&gt;
&lt;code&gt;https://github.com/YoussefSelk/fast-express-structure&lt;/code&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>typescript</category>
      <category>cli</category>
    </item>
    <item>
      <title>I got tired of messy TypeScript migrations in Node.js, so I built fast-ts-integrator</title>
      <dc:creator>Youssef Selk</dc:creator>
      <pubDate>Tue, 21 Apr 2026 00:40:19 +0000</pubDate>
      <link>https://forem.com/ussfslk/i-got-tired-of-messy-typescript-migrations-in-nodejs-so-i-built-fast-ts-integrator-1nhb</link>
      <guid>https://forem.com/ussfslk/i-got-tired-of-messy-typescript-migrations-in-nodejs-so-i-built-fast-ts-integrator-1nhb</guid>
      <description>&lt;p&gt;Adding TypeScript to an existing Node.js project sounds simple until it isn’t.&lt;/p&gt;

&lt;p&gt;A few files in, things usually start drifting:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;tsconfig.json stops matching the actual runtime&lt;/li&gt;
&lt;li&gt;CommonJS and ESM start fighting each other&lt;/li&gt;
&lt;li&gt;mixed .js and .ts files make the project harder to reason about&lt;/li&gt;
&lt;li&gt;test and lint setup adds even more friction&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I kept running into that same wall, so I built a small CLI to make the setup predictable.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it is
&lt;/h2&gt;

&lt;p&gt;fast-ts-integrator is a CLI that helps add TypeScript to a new or existing Node.js project with an interactive setup.&lt;/p&gt;

&lt;p&gt;It lets you choose:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ES Modules or CommonJS&lt;/li&gt;
&lt;li&gt;tsx or ts-node&lt;/li&gt;
&lt;li&gt;Biome or ESLint + Prettier&lt;/li&gt;
&lt;li&gt;Vitest or Jest
Then it installs what is needed, generates the config, and adds the scripts so you can actually start working instead of fighting setup.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;Most of the pain was never “TypeScript itself”.&lt;/p&gt;

&lt;p&gt;It was the setup around it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;choosing the right module strategy&lt;/li&gt;
&lt;li&gt;keeping runtime behavior consistent&lt;/li&gt;
&lt;li&gt;avoiding broken imports after migration&lt;/li&gt;
&lt;li&gt;wiring linting and testing without turning the project into config soup&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted something practical that works for real Node.js projects, not just empty demos.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick start
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx fast-ts-integrator
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx fast-ts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Example flow
&lt;/h2&gt;

&lt;p&gt;The CLI walks through a few choices:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;module system&lt;/li&gt;
&lt;li&gt;execution engine&lt;/li&gt;
&lt;li&gt;linter/formatter&lt;/li&gt;
&lt;li&gt;test framework&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;After that, it scaffolds the setup and updates package.json for you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;p&gt;npm: &lt;a href="https://www.npmjs.com/package/fast-ts-integrator" rel="noopener noreferrer"&gt;npm package&lt;/a&gt;&lt;br&gt;
GitHub: &lt;a href="https://github.com/YoussefSelk/fast-ts-integrator" rel="noopener noreferrer"&gt;Github Repo&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Still improving
&lt;/h2&gt;

&lt;p&gt;This is an early release, and I’m actively improving it.&lt;/p&gt;

&lt;p&gt;Real feedback would help a lot, especially from people who have dealt with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;gradual JS to TS migration&lt;/li&gt;
&lt;li&gt;CommonJS to ESM headaches&lt;/li&gt;
&lt;li&gt;existing Express or Node backends&lt;/li&gt;
&lt;li&gt;lint/test setup that tends to break during migration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you try it, I’d genuinely like to know what feels smooth and what feels annoying.&lt;/p&gt;

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