<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/stop-writing-rest-apis-from-scratch-in-2025-whupvklwz" -->

---
title: Stop Writing REST APIs From Scratch in 2025 | daily.dev
description: Modern frameworks like tRPC, Fastify, and Hono eliminate the need to write REST APIs from scratch by leveraging schema-driven design. These tools reduce...
canonical: https://daily.dev/posts/stop-writing-rest-apis-from-scratch-in-2025-whupvklwz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Stop Writing REST APIs From Scratch in 2025 | daily.dev
og:description: Modern frameworks like tRPC, Fastify, and Hono eliminate the need to write REST APIs from scratch by leveraging schema-driven design. These tools reduce...
og:url: https://daily.dev/posts/stop-writing-rest-apis-from-scratch-in-2025-whupvklwz
og:image: https://api.daily.dev/og/posts/WhupVKLWZ.png
og:image:alt: Stop Writing REST APIs From Scratch in 2025
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Stop Writing REST APIs From Scratch in 2025

**[LogRocket](https://daily.dev/sources/logrocket)** · 1 min read · 278 upvotes · 14 comments

## Summary

Modern frameworks like tRPC, Fastify, and Hono eliminate the need to write REST APIs from scratch by leveraging schema-driven design. These tools reduce boilerplate code while improving development speed and type safety, making manual API construction increasingly obsolete.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.logrocket.com/stop-writing-rest-apis-from-scratch/>

## Community discussion

Top comments from developers on daily.dev.

**@adampagano** · 21 upvotes

> This honestly sounds like whoever is reinventing SOAP with extra steps.  Before SOAP was killed for REST, you used to be able to take your xsl and other schema file, toss it into wsdl, and get a full fledged endpoint implementation, no hand coding required.  What killed SOAP was the lack of versioning and good update mechanics; one had to regenerate the whole library for even simple updates.

**@randy** · 16 upvotes

> Most of the endpoints in the SaaS app I work on are not CRUD, so looking at the schema to determine the API is not going to create a "feature."

**@ghost** · 9 upvotes

> Honestly? I had this period of being smart and using graphql, trpc, etc. But in the end they bring so much complexity and unnecessary layers that I just become tired of it. I just wanna do a feature not to manage over engineered setup. Just give me endpoint and i can write ts type myself on frontend. There weren’t real issues with managing frontend types even in medium-large apps unless you doing kind of open api but even though it fixable with adequate documentation

**@ivansnyman** · 7 upvotes

> How is this different than writing back-end endpoints with OpenAPI/Swagger and then just auto generating the code on the front-end

**@rucaua** · 4 upvotes

> 1) Nobody writhing from scratch. Using Express !== "from scratch"
> 2) Fastify may be good for small projects. But where is no OOP, no ORM etc. So if u will try to implements some complex logic and/or will use DDD - u will fail.
> 3) if u use NestJS or NuxtJS - same. It is good to have front and SSR. But u need separate app for rest to implement complex logic. Unless u create something simple and stupid.
>
>
> PS. Sounds like "Stop using complex digging machines; just use an ice auger."

## Similar posts on daily.dev

- [REST vs GraphQL vs tRPC 2026: What to Actually Use](https://daily.dev/posts/rest-vs-graphql-vs-trpc-2026-what-to-actually-use-erzmsddde) · Alex CloudStar · 1 upvotes · 0 comments

---

Tags: [#backend](https://daily.dev/tags/backend), [#fastify](https://daily.dev/tags/fastify), [#rest-api](https://daily.dev/tags/rest-api), [#trpc](https://daily.dev/tags/trpc)

[View this post on daily.dev](https://daily.dev/posts/stop-writing-rest-apis-from-scratch-in-2025-whupvklwz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Stop Writing REST APIs From Scratch in 2025","url":"https://daily.dev/posts/stop-writing-rest-apis-from-scratch-in-2025-whupvklwz","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/stop-writing-rest-apis-from-scratch-in-2025-whupvklwz"},"datePublished":"2025-10-14T13:30:13.552Z","dateModified":"2026-05-28T02:13:59.090Z","description":"Modern frameworks like tRPC, Fastify, and Hono eliminate the need to write REST APIs from scratch by leveraging schema-driven design. These tools reduce...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/285826190b64cca448037166dbe4090b?_a=AQAEulh","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/285826190b64cca448037166dbe4090b?_a=AQAEulh","isAccessibleForFree":true,"articleSection":"LogRocket","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"LogRocket","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/logrocket","url":"https://daily.dev/sources/logrocket"},"commentCount":14,"discussionUrl":"https://daily.dev/posts/stop-writing-rest-apis-from-scratch-in-2025-whupvklwz","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":278},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":14}],"keywords":"backend,fastify,rest-api,trpc","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"LogRocket","item":"https://daily.dev/sources/logrocket"},{"@type":"ListItem","position":3,"name":"Stop Writing REST APIs From Scratch in 2025"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/stop-writing-rest-apis-from-scratch-in-2025-whupvklwz","comment":[{"@type":"Comment","text":"This honestly sounds like whoever is reinventing SOAP with extra steps.  Before SOAP was killed for REST, you used to be able to take your xsl and other schema file, toss it into wsdl, and get a full fledged endpoint implementation, no hand coding required.  What killed SOAP was the lack of versioning and good update mechanics; one had to regenerate the whole library for even simple updates.","datePublished":"2025-10-15T12:31:54.115Z","url":"https://daily.dev/posts/WhupVKLWZ#c-47qsyI1l2","author":{"@type":"Person","name":"Adam Pagano","url":"https://daily.dev/adampagano","image":"https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":21}},{"@type":"Comment","text":"Most of the endpoints in the SaaS app I work on are not CRUD, so looking at the schema to determine the API is not going to create a “feature.”","datePublished":"2025-10-15T13:28:42.018Z","url":"https://daily.dev/posts/WhupVKLWZ#c-lGO7YlMNN","author":{"@type":"Person","name":"Randy","url":"https://daily.dev/randy","image":"https://media.daily.dev/image/upload/s--UjV4-KkB--/f_auto/v1708097210/avatars/avatar_HXYbbGcBO38Rfv7RrCBdA"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":16}},{"@type":"Comment","text":"Honestly? I had this period of being smart and using graphql, trpc, etc. But in the end they bring so much complexity and unnecessary layers that I just become tired of it. I just wanna do a feature not to manage over engineered setup. Just give me endpoint and i can write ts type myself on frontend. There weren’t real issues with managing frontend types even in medium-large apps unless you doing kind of open api but even though it fixable with adequate documentation","datePublished":"2025-10-20T10:45:34.995Z","dateModified":"2025-10-20T10:46:21.923Z","url":"https://daily.dev/posts/WhupVKLWZ#c-TgjK9iSjD","author":{"@type":"Person","name":"Deleted user","url":"https://daily.dev/ghost","image":"https://media.daily.dev/image/upload/s--hNIUzLiO--/f_auto/v1705327420/public/ghost_vlftth"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":9}},{"@type":"Comment","text":"How is this different than writing back-end endpoints with OpenAPI/Swagger and then just auto generating the code on the front-end","datePublished":"2025-10-17T13:46:10.622Z","url":"https://daily.dev/posts/WhupVKLWZ#c-0EgITMvn9","author":{"@type":"Person","name":"Ivan Snyman","url":"https://daily.dev/ivansnyman","image":"https://media.daily.dev/image/upload/s--HI1u57cB--/f_auto/v1718883918/avatars/avatar_xvmPXzvliDYKa7PdYqItv"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":7}},{"@type":"Comment","text":"Nobody writhing from scratch. Using Express !== “from scratch”\nFastify may be good for small projects. But where is no OOP, no ORM etc. So if u will try to implements some complex logic and/or will use DDD - u will fail.\nif u use NestJS or NuxtJS - same. It is good to have front and SSR. But u need separate app for rest to implement complex logic. Unless u create something simple and stupid.\n\nPS. Sounds like “Stop using complex digging machines; just use an ice auger.”","datePublished":"2025-10-30T19:19:09.957Z","dateModified":"2025-10-30T19:23:44.804Z","url":"https://daily.dev/posts/WhupVKLWZ#c-Q9cQh06iS","author":{"@type":"Person","name":"Maksym Tymofeiev","url":"https://daily.dev/rucaua","image":"https://media.daily.dev/image/upload/s--caTJyFHC--/f_auto/v1736549445/avatars/avatar_sIPMygD4Ld90iZsdsEqh7"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}}]}
```

