<?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: Ashutosh Kumar</title>
    <description>The latest articles on Forem by Ashutosh Kumar (@warrioraashuu).</description>
    <link>https://forem.com/warrioraashuu</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%2F1266047%2F2e216061-2668-49a1-a99a-c7de1db236bb.jpg</url>
      <title>Forem: Ashutosh Kumar</title>
      <link>https://forem.com/warrioraashuu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/warrioraashuu"/>
    <language>en</language>
    <item>
      <title>Don't chase GSoC, Chase open source</title>
      <dc:creator>Ashutosh Kumar</dc:creator>
      <pubDate>Sun, 14 Dec 2025 18:57:14 +0000</pubDate>
      <link>https://forem.com/warrioraashuu/dont-chase-gsoc-chase-open-source-2nah</link>
      <guid>https://forem.com/warrioraashuu/dont-chase-gsoc-chase-open-source-2nah</guid>
      <description>&lt;p&gt;✦ If you're doing 𝗚𝗦𝗼𝗖 only for the stipend, 𝗜 𝗵𝗼𝗻𝗲𝘀𝘁𝗹𝘆 𝘄𝗶𝘀𝗵 𝘆𝗼𝘂 𝗴𝗲𝘁 𝗳𝘂𝗰𝗸𝗲𝗱 𝘂𝗽 𝗯𝘆 𝗿𝗲𝗷𝗲𝗰𝘁𝗶𝗼𝗻. Because, GSoC doesn’t make you good at open source.&lt;/p&gt;

&lt;p&gt;✦ 𝗢𝗽𝗲𝗻 𝘀𝗼𝘂𝗿𝗰𝗲 𝗺𝗮𝗸𝗲𝘀 𝘆𝗼𝘂 𝘄𝗼𝗿𝘁𝗵𝘆 𝗼𝗳 𝗚𝗦𝗼𝗖.&lt;/p&gt;

&lt;p&gt;Most of you haven’t contributed to a single open source organization or open source project, not even built one real world project, and yet people have flooded my 𝗗𝗠𝘀 with:&lt;/p&gt;

&lt;p&gt;“How do I crack GSoC?”&lt;br&gt;
“Which org is easiest to crack?”&lt;br&gt;
“Send me your proposal so I can crack it too.”&lt;br&gt;
“How much stipend will I get if I contribute?”&lt;br&gt;
“Any shortcut to get selected?”&lt;/p&gt;

&lt;p&gt;I’m tired of this word: 𝗖𝗥𝗔𝗖𝗞.&lt;br&gt;
There is nothing to crack.&lt;/p&gt;

&lt;p&gt;Open source is not:&lt;br&gt;
• 𝗔𝗻 𝗲𝘅𝗮𝗺&lt;br&gt;
• 𝗔 𝗝𝗘𝗘 𝗽𝗮𝗽𝗲𝗿&lt;br&gt;
• 𝗔 𝗻𝗼𝘁𝗲𝘀-𝗯𝗮𝘀𝗲𝗱 𝘀𝗵𝗼𝗿𝘁𝗰𝘂𝘁&lt;br&gt;
• 𝗔 𝗠𝗔𝗔𝗡𝗚 / 𝗙𝗔𝗔𝗡𝗚 𝗶𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄&lt;/p&gt;

&lt;p&gt;People think GSoC is some shortcut program:&lt;br&gt;
Contribute using AI.&lt;br&gt;
Copy a PR.&lt;br&gt;
Get selected.&lt;br&gt;
Take the money.&lt;br&gt;
Flex the certificate.&lt;/p&gt;

&lt;p&gt;That mindset is fucking bullshit.&lt;/p&gt;

&lt;p&gt;𝗬𝗲𝘀, 𝗚𝗦𝗼𝗖 𝗵𝗲𝗹𝗽𝘀 𝘆𝗼𝘂𝗿 𝗿𝗲𝘀𝘂𝗺𝗲.&lt;br&gt;
𝗕𝘂𝘁 𝗵𝗲𝗿𝗲’𝘀 𝘁𝗵𝗲 𝘂𝗻𝗰𝗼𝗺𝗳𝗼𝗿𝘁𝗮𝗯𝗹𝗲 𝘁𝗿𝘂𝘁𝗵:&lt;/p&gt;

&lt;p&gt;👉 With this “crack mentality” &lt;br&gt;
You probably won’t even get selected and even if you do, you’ll hate the process.&lt;/p&gt;

&lt;p&gt;So if you’re aiming for GSoC 2026, pause and rethink: &lt;/p&gt;

&lt;p&gt;𝗪𝗵𝘆 𝗱𝗼 𝘆𝗼𝘂 𝘄𝗮𝗻𝘁 𝗶𝘁?&lt;br&gt;
For the badge?&lt;br&gt;
For the fucking LinkedIn validation?&lt;br&gt;
For the stipend?&lt;/p&gt;

&lt;p&gt;If you’re doing it just for this, &lt;br&gt;
you’re going to get fucked out, my dear.&lt;/p&gt;

&lt;p&gt;𝗕𝘂𝘁 𝗶𝗳 𝘆𝗼𝘂 𝘄𝗮𝗻𝘁 𝘁𝗼:&lt;br&gt;
build real things&lt;br&gt;
solve real problems&lt;br&gt;
learn how real software is made&lt;/p&gt;

&lt;p&gt;𝗧𝗵𝗲𝗻 𝗳𝗼𝗿𝗴𝗲𝘁 𝗚𝗦𝗼𝗖 𝗳𝗼𝗿 𝗮 𝗺𝗼𝗺𝗲𝗻𝘁.&lt;br&gt;
Start contributing now, to any open source organization or project.&lt;/p&gt;

&lt;p&gt;𝗗𝗼𝗻’𝘁 𝗰𝗵𝗮𝘀𝗲 𝗚𝗦𝗼𝗖. 𝗖𝗵𝗮𝘀𝗲 𝗢𝗽𝗲𝗻 𝗦𝗼𝘂𝗿𝗰𝗲. Everything else follows.&lt;br&gt;
GSoC is just a part of open source, not the whole thing.&lt;/p&gt;

&lt;p&gt;𝗜 𝘄𝗮𝘀 𝗮𝗰𝘁𝗶𝘃𝗲 𝗶𝗻 𝗼𝗽𝗲𝗻 𝘀𝗼𝘂𝗿𝗰𝗲 𝗯𝗲𝗳𝗼𝗿𝗲 𝗜 𝗲𝘃𝗲𝗻 𝗰𝗮𝗿𝗲𝗱 𝗮𝗯𝗼𝘂𝘁 𝗚𝗦𝗼𝗖.&lt;br&gt;
• In 2022, I was an intermediate dev, building small projects.&lt;br&gt;
• In 2023, I started building fullstack projects and became active in the open-source community.&lt;br&gt;
• In 2024, I built 35+ real world projects, stayed obsessed, and still didn’t get selected.&lt;br&gt;
• In 2025, I finally became part of GSoC.&lt;/p&gt;

&lt;p&gt;So, I survived only because I love building things, I love open source, not because I followed some fucking “crack guide.”&lt;/p&gt;

&lt;p&gt;𝗦𝗼 𝗺𝘆 𝗱𝗲𝗮𝗿,&lt;br&gt;
Stop chasing programs.&lt;br&gt;
Stop cracking.&lt;/p&gt;

&lt;p&gt;Start just fucking building, building, &amp;amp; building.&lt;/p&gt;

&lt;p&gt;Because, 𝗢𝗽𝗲𝗻 𝗦𝗼𝘂𝗿𝗰𝗲 is a way of building and innovating together through collaboration.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/ashutoshkumaraashu/" rel="noopener noreferrer"&gt;https://www.linkedin.com/in/ashutoshkumaraashu/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>developer</category>
      <category>gsoc</category>
      <category>gsoc26</category>
    </item>
    <item>
      <title>It’s official ✦ Google Summer of Code 2026 is coming</title>
      <dc:creator>Ashutosh Kumar</dc:creator>
      <pubDate>Thu, 04 Dec 2025 11:42:12 +0000</pubDate>
      <link>https://forem.com/warrioraashuu/its-official-google-summer-of-code-2026-is-coming-288h</link>
      <guid>https://forem.com/warrioraashuu/its-official-google-summer-of-code-2026-is-coming-288h</guid>
      <description>&lt;p&gt;&lt;strong&gt;It’s official ✦ Google Summer of Code 2026 is coming&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;🗓 Key dates:&lt;/em&gt;&lt;br&gt;
Applications open: March 16, 2026&lt;br&gt;
Applications close: March 31, 2026&lt;/p&gt;

&lt;p&gt;And if you are still planning to “start in March”… you’re already late.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The application period is NOT the preparation period.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;As a GSoC 2025 contributor, I’ve seen firsthand how much this program can accelerate your learning, network, and career. It was a turning point for me, and I want more people from my network to experience that.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Here’s what I’d do if I were starting today for GSoC 2026:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1️⃣ Start TODAY, not in March&lt;/strong&gt;&lt;br&gt;
Don’t wait for the official org list.&lt;br&gt;
Most orgs participate every year.&lt;br&gt;
Pick 2–3 orgs &amp;amp; start exploring their ecosystem and see which ones align with your skills (web dev, systems, ML, security, etc.).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2️⃣ Observe before you contribute&lt;/strong&gt;&lt;br&gt;
Join their Slack, Discord, IRC, GitHub discussions, whatever they use.&lt;br&gt;
Just watch how they talk, how they solve issues, how PRs are reviewed.&lt;br&gt;
This will teach you more than any YouTube “GSoC roadmap” video.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3️⃣ Start with “small but visible”&lt;/strong&gt;&lt;br&gt;
Fix a typo.&lt;br&gt;
Improve a README.&lt;br&gt;
Refactor a tiny function.&lt;br&gt;
Add missing documentation.&lt;br&gt;
A “good first issue”&lt;br&gt;
It’s not about “showing skills”…&lt;br&gt;
It’s about showing you can collaborate.&lt;br&gt;
These get your name on the board and show you are active.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4️⃣ Think in terms of a proposal from day one&lt;/strong&gt;&lt;br&gt;
While you contribute, keep a running document of:&lt;br&gt;
Problems you notice in the project&lt;br&gt;
Possible improvements&lt;br&gt;
Links to your PRs and discussions&lt;br&gt;
Good proposals don’t come from templates.&lt;br&gt;
They come from actually understanding the codebase, talking to mentors, and solving real issues.&lt;/p&gt;

&lt;p&gt;✦ If you’re serious about GSoC 2026… &lt;br&gt;
Let's connect on LinkedIn: &lt;a href="https://www.linkedin.com/in/ashutoshkumaraashu/" rel="noopener noreferrer"&gt;https://www.linkedin.com/in/ashutoshkumaraashu/&lt;/a&gt;&lt;br&gt;
I’ll also be sharing more resources, templates, and my honest learnings from GSoC 2025 very soon.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>programming</category>
      <category>career</category>
      <category>github</category>
    </item>
    <item>
      <title>The One Advice I'd Give My Past Self: Build Boring Sh*t That Sells</title>
      <dc:creator>Ashutosh Kumar</dc:creator>
      <pubDate>Thu, 18 Sep 2025 13:22:32 +0000</pubDate>
      <link>https://forem.com/warrioraashuu/the-one-advice-id-give-my-past-self-build-boring-sht-that-sells-11p9</link>
      <guid>https://forem.com/warrioraashuu/the-one-advice-id-give-my-past-self-build-boring-sht-that-sells-11p9</guid>
      <description>&lt;p&gt;I’ve been building products and running startups for years now, 50+ production-ready apps, a creative agency, and now my global developer platform &amp;amp; community &lt;a href="https://www.devdisplay.org" rel="noopener noreferrer"&gt;&lt;strong&gt;DevDisplay&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If I could go back and give my younger self one piece of advice, it would be this:&lt;br&gt;
&lt;strong&gt;Stop trying to build something “revolutionary.” Start building things people already pay for and make them better.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This sounds boring, right? We all want to be “that founder” - the one who changes the world, disrupts industries, and raises millions. But here’s the harsh truth I learned:&lt;/p&gt;

&lt;p&gt;Your landlord doesn’t accept GitHub stars as rent. Your team can’t eat “innovation.”&lt;/p&gt;

&lt;p&gt;I learned this the hard way with one of my first startups. We spent months building something no one had seen before. Guess how many paying customers we had after launch? &lt;strong&gt;Zero.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Then I started building what I call “boring sh*t that scales” - products in proven markets. The result? Paying customers, clear growth, and a business that could actually survive. That mindset became the DNA of DevDisplay’s business model (Platform + Community + Labs).&lt;/p&gt;




&lt;h2&gt;
  
  
  Why “Boring” Wins - and Why DevDisplay Exists
&lt;/h2&gt;

&lt;p&gt;When you see 50 project management tools out there, that’s not a signal to stay away. That’s a green light. It means people are &lt;em&gt;already spending money&lt;/em&gt; there.&lt;/p&gt;

&lt;p&gt;That’s why I built DevDisplay - not as a “new category” but as a better solution for an existing pain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Developers already join communities.&lt;/li&gt;
&lt;li&gt;Developers already look for opportunities, jobs, hackathons, and collaborators.&lt;/li&gt;
&lt;li&gt;Developers already showcase projects - just scattered everywhere (LinkedIn, GitHub, Discords).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;DevDisplay simply brings all of that together - one platform where developers can &lt;strong&gt;discover, connect, collaborate, and promote&lt;/strong&gt; their work.&lt;/p&gt;

&lt;p&gt;This is exactly the advice I wish I gave myself earlier: &lt;strong&gt;don’t try to convince the world to behave differently - just build something that fits their existing behavior and solves their frustration better.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Math Still Works
&lt;/h2&gt;

&lt;p&gt;Let’s be brutally practical.&lt;br&gt;
Want to make \$10K/month?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can gamble on something no one understands, spend a year building it, and pray.&lt;/li&gt;
&lt;li&gt;Or you can find a market where thousands already pay and just get 1-2% of them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With DevDisplay, even a small slice of the global developer market (20M+ developers worldwide) is enough to build a sustainable, profitable organization - and then invest in &lt;strong&gt;DevDisplay Labs&lt;/strong&gt;, where we can finally experiment with moonshot ideas.&lt;/p&gt;




&lt;h2&gt;
  
  
  How I Apply This Playbook at DevDisplay
&lt;/h2&gt;

&lt;p&gt;Here’s what I personally do now (and what I’d tell any indie hacker):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Pick Proven Markets&lt;/strong&gt; – I look for areas where money already flows. Developer platforms, hiring tools, collab spaces. ✅&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Find Gaps&lt;/strong&gt; – DevDisplay didn’t copy LinkedIn or GitHub. We built for indie hackers, students, open-source builders - the ones big platforms ignore.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ship Fast&lt;/strong&gt; – Every feature on DevDisplay has an MVP phase. If we can’t build it in 4-6 weeks, we cut scope.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Charge Early&lt;/strong&gt; – Even with free features, we have real monetization in mind (Labs, Promotion, Community Benefits).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use Community Feedback as Roadmap&lt;/strong&gt; – DevDisplay itself is shaped by contributors and users — they literally tell us what to build next.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Double Down&lt;/strong&gt; – When a feature or campaign works (like hackathon boards or collab requests), we scale it hard.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Final Thought: Stability Before Moonshots
&lt;/h2&gt;

&lt;p&gt;Yes, I still dream about building wild, world-changing products. But first, I need stability. I need to make sure DevDisplay survives and grows before we try to “reinvent” developer collaboration.&lt;/p&gt;

&lt;p&gt;So here’s my advice to any builder reading this - and my past self:&lt;/p&gt;

&lt;p&gt;✅ Build boring sh*t that sells.&lt;br&gt;
✅ Make it useful for real people right now.&lt;br&gt;
✅ Reach \$10K MRR.&lt;br&gt;
✅ Then - and only then - start changing the world.&lt;/p&gt;

&lt;p&gt;That’s exactly how DevDisplay was born.&lt;/p&gt;

</description>
      <category>startup</category>
      <category>productivity</category>
      <category>programming</category>
      <category>web3</category>
    </item>
    <item>
      <title>Awesome Next.js API Routes with next-api-decorators</title>
      <dc:creator>Ashutosh Kumar</dc:creator>
      <pubDate>Tue, 03 Jun 2025 19:08:37 +0000</pubDate>
      <link>https://forem.com/warrioraashuu/awesome-nextjs-api-routes-with-next-api-decorators-1bd0</link>
      <guid>https://forem.com/warrioraashuu/awesome-nextjs-api-routes-with-next-api-decorators-1bd0</guid>
      <description>&lt;p&gt;Building a modern Web application can be a complex task - it's likely that if you're looking to build something you'll start thinking about architecture, and how to separate your concerns, and that there are many ways that can be done. Traditionally speaking, this means having a separate frontend and backend, with separate codebases, maybe using different languages, frameworks, or technologies in order to get the job done.&lt;/p&gt;

&lt;p&gt;In this article, we'll look at an alternative using something wonderful from the world of frontend development: Next.js. We'll look at how a monolithic architecture can be convenient and powerful, without necessarily suffering from the tight coupling usually linked with this approach. But first, a quick primer on how Next.js works.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Next Works
&lt;/h2&gt;

&lt;p&gt;If you're new to this tech, Next.js is a Jamstack framework, designed to solve some of the problems associated with building traditional Single Page Apps (SPAs). Not only does it support Server-Side Rendering, but also Static Site Generation, allowing developers to build apps with some static pages (think marketing / about pages!) and some dynamic pages that load super quick and are SEO-friendly. Depending on your use case, you can usually get Next.js to suit your needs, with very few caveats.&lt;/p&gt;

&lt;p&gt;To put it briefly, this works because when you "run" a Next.js app, you're actually running a Node.js server (though if you're building a completely static site, you can just export all the static files and host them wherever, but we won't be talking about that approach here). As a result, your app is 'alive', in contrast with e.g. a Create React App, where a JS bundle is hosted somewhere and downloaded to the client where the whole app is rendered only on the client side.&lt;/p&gt;

&lt;h2&gt;
  
  
  So what?
&lt;/h2&gt;

&lt;p&gt;As a result of this, it's possible to define some code that only ever runs on the server, that the client will never see. It's starting to look like given that we have server-side-only code, we could maybe start doing some stuff that we couldn't (more like shouldn't) do before on the client, e.g. talk to a database directly, perform operations that require several separate calls, etc. Isn't this starting to sound like an HTTP API?&lt;/p&gt;

&lt;p&gt;Next.js supports this concept as a first-class citizen in its architecture. Routing is opinionated, and uses the filesystem to determine page routes in your app, using files and folders in a directory called pages to establish this - e.g. if you create a file in &lt;code&gt;pages/todos&lt;/code&gt; called &lt;code&gt;mine.tsx&lt;/code&gt; you'd be able to find the page in your browser at &lt;code&gt;&amp;lt;your-domain&amp;gt;/todos/mine&lt;/code&gt;. Anything under the path &lt;code&gt;pages/api&lt;/code&gt; will only run on the server. There we have it! What we refer to as &lt;a href="https://nextjs.org/docs/api-routes/introduction" rel="noopener noreferrer"&gt;Next API Routes&lt;/a&gt;. This now means we can build a full-stack application with a single codebase, a "monolithic" architecture. Right off the bat we get several nice-to-haves for free:&lt;/p&gt;

&lt;p&gt;✦︎ Single build process &amp;amp; easy-to-run dev environment for whole app ( just run &lt;code&gt;next dev&lt;/code&gt; )&lt;br&gt;
✦︎ Simpler deployments ( &lt;code&gt;next build&lt;/code&gt; then &lt;code&gt;next start&lt;/code&gt; in any node-compatible environment )&lt;br&gt;
✦︎ No CORS worries by default, the frontend and backend are on the same origin!&lt;br&gt;
✦︎ Monorepo-like sharing by default ( think same &lt;code&gt;tsconfig&lt;/code&gt;, &lt;code&gt;jest&lt;/code&gt;, &lt;code&gt;eslint&lt;/code&gt; ) without having to use monorepo managers like &lt;code&gt;lerna&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;More experienced developers may see an approach like this as a step backwards, but it's arguable more like a step towards better consolidation of code &amp;amp; resources. Logical concerns can be separated without physical separation itself, and a monolithic architecture is beginning to make more sense for Web apps, most notably with the rise of Incremental Static Regeneration and Server Side Rendering.&lt;/p&gt;
&lt;h2&gt;
  
  
  API Routes
&lt;/h2&gt;

&lt;p&gt;As listed in the documentation, building API routes with Next looks a lot like building a basic API with Node.js:&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;Nice and simple. You can use this approach to very quickly and simply build out some server-side functionality!&lt;/p&gt;

&lt;p&gt;But what if we wanted to start building a REST API, differentiating between different HTTP methods on the same endpoint, modelling our API in terms of resources? What if we wanted to start composing behavior into our API endpoints?&lt;/p&gt;

&lt;p&gt;Our example quickly swells to something like this:&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;And that's probably the best case, as we've been able to factor out all the actual business logic into the functions &lt;code&gt;doSomething&lt;/code&gt;, &lt;code&gt;checkAuth&lt;/code&gt;, &lt;code&gt;doSomethingElse&lt;/code&gt; and &lt;code&gt;doAThirdThing&lt;/code&gt;. It'd likely get worse once we'd start getting request bodies etc. Not terrible, but we can likely make this a little easier to read, and a little easier to maintain.&lt;/p&gt;

&lt;h2&gt;
  
  
  NestJS
&lt;/h2&gt;

&lt;p&gt;Often, developers opt for a framework when building out APIs, as they offer alternative means of representing resources, and many tools and utilities designed to make this process easier. One such example is &lt;a href="https://nestjs.com/" rel="noopener noreferrer"&gt;NestJS&lt;/a&gt; (Not to be confused with Next.js!). This is a batteries-included, powerful "framework for building efficient, scalable &lt;a href="https://nodejs.org/" rel="noopener noreferrer"&gt;Node.js&lt;/a&gt; server-side applications". Heavily inspired by &lt;a href="https://angular.io/" rel="noopener noreferrer"&gt;Angular&lt;/a&gt;, this framework allows developers to use abstractions to represent API routes, including reusable services, controllers, modules and more.&lt;/p&gt;

&lt;p&gt;Here is a simple example copied from its documentation:&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;As we can see, this approach uses OOP ideas and decorators to achieve the goals described previously. We specify only the HTTP methods we intend to make available as methods on a class, instead of control flow paths in a function. A little more declarative, and a great foundation if we're looking build out a REST API.&lt;/p&gt;

&lt;p&gt;So how do we make use of this approach for Next.JS API Routes?&lt;/p&gt;

&lt;h2&gt;
  
  
  next-api-decorators
&lt;/h2&gt;

&lt;p&gt;This library was created by me, &lt;a href="https://www.ashutoshkumar.me/" rel="noopener noreferrer"&gt;Ashutosh Kumar&lt;/a&gt;, while building &lt;a href="https://www.devdisplay.org/" rel="noopener noreferrer"&gt;DevDisplay&lt;/a&gt; ✦︎ A global vision on a mission to become the next billion-dollar company in the tech industry. I developed this solution to simplify and scale API development in Next.js by applying a more structured, declarative approach. Let’s revisit our earlier complex example, now rewritten using nextjs-api-decorators, to demonstrate how this approach works in practice:&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;As we can see, we have changed the way we express our resource handler, swapping a function for a class. On top of this, methods of the class are annotated with decorators to express their purpose.&lt;/p&gt;

&lt;p&gt;Now, it's up to you which you prefer, as it's not as if this approach makes it much more concise. But it does, as mentioned earlier, transform our approach to describing our resources from an imperative one to a declarative one. I have found while building Next.js APIs out that this approach is a good deal easier to maintain, as eventually each route and each handler can and will get more complex as your application grows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom Decorators
&lt;/h2&gt;

&lt;p&gt;The last thing I wanted to look at from this example is the &lt;code&gt;requiresAuth&lt;/code&gt; decorator we see on some of the methods in this handler now. I wrote something like this custom handler for a project recently, and it's proven very useful. This is done using the &lt;code&gt;createMiddlewareDecorator&lt;/code&gt; utility provided by &lt;code&gt;next-api-decorators&lt;/code&gt;:&lt;/p&gt;


&lt;div class="ltag_gist-liquid-tag"&gt;
  
&lt;/div&gt;


&lt;p&gt;Pretty strong stuff 💪&lt;/p&gt;

&lt;p&gt;This approach is very flexible and can be applied to both classes and their methods to fit a variety of use cases and declutter your actual business logic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping Up
&lt;/h2&gt;

&lt;p&gt;The example I've shown here is very simple and just to give you an idea of the a practical monolithic approach to building a full-stack application using Next.js and its API routes, and how it can be made scalable server-side using &lt;code&gt;next-api-decorators&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;If you're interested in learning more, check out the &lt;a href="https://nextjs-api-decorators.vercel.app/" rel="noopener noreferrer"&gt;documentation&lt;/a&gt; and &lt;a href="https://github.com/codeaashu/nextjs-api-decorators" rel="noopener noreferrer"&gt;repo&lt;/a&gt; for this amazing library.&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

&lt;p&gt;💙&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>webdev</category>
      <category>typescript</category>
      <category>api</category>
    </item>
    <item>
      <title>Imagine The Space Where All Tech Opportunities Await You!</title>
      <dc:creator>Ashutosh Kumar</dc:creator>
      <pubDate>Sun, 06 Apr 2025 12:52:31 +0000</pubDate>
      <link>https://forem.com/warrioraashuu/imagine-the-space-where-all-tech-opportunities-await-you-1347</link>
      <guid>https://forem.com/warrioraashuu/imagine-the-space-where-all-tech-opportunities-await-you-1347</guid>
      <description>&lt;p&gt;&lt;strong&gt;DevDisplay - Paradise For Developers!&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;One Platform for Global Developers to Fulfill All The Tech Needs!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Imagine The Space Where All Tech Opportunities Await You!&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;💡Jobs that valid&lt;/li&gt;
&lt;li&gt;💡Internships that Launch Careers.&lt;/li&gt;
&lt;li&gt;💡Freelancing that fuels freedom.&lt;/li&gt;
&lt;li&gt;💡Hackathons that Push Your Limits.&lt;/li&gt;
&lt;li&gt;💡Competitions that Challenge the Best.&lt;/li&gt;
&lt;li&gt;💡Certifications that Truly Matter.&lt;/li&gt;
&lt;li&gt;💡Bootcamps that Build Real Skills.&lt;/li&gt;
&lt;li&gt;💡Tech Events that Connect &amp;amp; Inspire.&lt;/li&gt;
&lt;li&gt;💡Tech Fests that Spark Innovation.&lt;/li&gt;
&lt;li&gt;💡Tech Conferences that Expand Minds.&lt;/li&gt;
&lt;li&gt;💡Meetups that Turn Into Collaborations.&lt;/li&gt;
&lt;li&gt;💡Open Source Contributions that Get You Noticed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You're Either On It - Or Behind It. #StayTuned!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;𝗗𝗲𝘃𝗗𝗶𝘀𝗽𝗹𝗮𝘆 𝘃𝟮.𝟬 Hits Different - Just Remember The Word "𝗣𝗮𝗿𝗮𝗱𝗶𝘀𝗲"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;💡Dropping ON April 17, 2025 at 10AM&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devdisplay</category>
      <category>paradisefordevelopers</category>
      <category>webdev</category>
      <category>opensource</category>
    </item>
    <item>
      <title>DevDisplay - Paradise For Developers!</title>
      <dc:creator>Ashutosh Kumar</dc:creator>
      <pubDate>Sun, 06 Apr 2025 12:48:21 +0000</pubDate>
      <link>https://forem.com/warrioraashuu/devdisplay-paradise-for-developers-1pgf</link>
      <guid>https://forem.com/warrioraashuu/devdisplay-paradise-for-developers-1pgf</guid>
      <description>&lt;p&gt;&lt;strong&gt;Connect ▸ Collab ▸ Code ▸ Create ▸ Conquer&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The First Global Platform for Developers to Fulfill All Their Tech Needs.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;⚡Imagine One Platform for Global Developers to Fulfill All The Tech Needs! ⚡&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💡Whatever you need as a developer, DevDisplay has it all.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Opportunities&lt;/li&gt;
&lt;li&gt;Resources&lt;/li&gt;
&lt;li&gt;Project Showcase&lt;/li&gt;
&lt;li&gt;Portfolio Ideas&lt;/li&gt;
&lt;li&gt;Resume Building&lt;/li&gt;
&lt;li&gt;AI Tools Hub&lt;/li&gt;
&lt;li&gt;Industry Trends&lt;/li&gt;
&lt;li&gt;AI Career Guide&lt;/li&gt;
&lt;li&gt;Portfolio Builder&lt;/li&gt;
&lt;li&gt;Idea Submission&lt;/li&gt;
&lt;li&gt;Journey Showcase&lt;/li&gt;
&lt;li&gt;Design Display&lt;/li&gt;
&lt;li&gt;Dev Discussions&lt;/li&gt;
&lt;li&gt;DevDisplay UI Library&lt;/li&gt;
&lt;li&gt;DevDisplay Compiler&lt;/li&gt;
&lt;li&gt;DevDisplay Competitions&lt;/li&gt;
&lt;li&gt;Developer Marketplace&lt;/li&gt;
&lt;li&gt;DevDisplay Ecommerce&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;💡We believe innovation is limitless...✦&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Suggest new features you'd love to see on DevDisplay! As a tech enthusiast and developer, you're encouraged to think beyond—think outside the box. Suggest and add new, innovative features that could revolutionize the tech world and make a difference in the tech ecosystem. If you spot a gap in the tech industry, DevDisplay can be the solution. You can also give us brutal and honest feedback—Roast Us! It helps us improve and make DevDisplay even better. Here, your ideas matter, your code matters—you matter.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Developers let’s enter to the Paradise - &lt;a href="//www.devdisplay.org"&gt;DevDisplay&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>devdisplay</category>
      <category>developer</category>
      <category>webdev</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Biggest Open Source Contribution</title>
      <dc:creator>Ashutosh Kumar</dc:creator>
      <pubDate>Wed, 18 Sep 2024 10:34:50 +0000</pubDate>
      <link>https://forem.com/warrioraashuu/biggest-open-source-contribution-1kpn</link>
      <guid>https://forem.com/warrioraashuu/biggest-open-source-contribution-1kpn</guid>
      <description>&lt;p&gt;&lt;a href="https://devdisplay.vercel.app/" rel="noopener noreferrer"&gt;https://devdisplay.vercel.app/&lt;/a&gt;&lt;br&gt;
﻿&lt;br&gt;
Hello everyone!&lt;br&gt;
﻿&lt;br&gt;
We invited you to the Biggest Open Source Contribution.&lt;br&gt;
﻿&lt;br&gt;
Contribute on this Open Source project It's easy just add profile here.&lt;br&gt;
﻿&lt;br&gt;
I waiting for your pull request on GitHub&lt;br&gt;
﻿&lt;br&gt;
Thanks!&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>development</category>
      <category>developers</category>
      <category>developer</category>
    </item>
  </channel>
</rss>
