A

A Schema-First, Post Only Alternative to Restful API

Hacker News

A Schema-First, Post Only Alternative to Restful API

Hello HN, I am a fan of schema-first API design. I’ve always built APIs by writing Open API Spec by hand and generating server models and client SDKs to get E2E type safety across my server and clients. Writing the spec by hand is a painful process, and setting up CI/CD pipelines or CLIs to run code generation can be time-consuming. So I decided to build a POST request-based, RPC-like, non-Restful API format that treats schema-first design as the first class citizen. My vision is a web app that allows a team of developers to write API spec in the browser with automatic version control. The app would re-generate code every time there is a change in the spec right in the browser for developers to copy and paste into their editor instantly. It will also provide a way to publish the generated code to some package registry for installations. I’ve built a POC to showcase editing the spec and generating code in the browser, and I’d love to invite you all to try it out and leave your feedback!

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, models, code · Missing: mac, agents, macos
95%95% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
86%86% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, pipe, io · Missing: https docs, excited, just released
52%52% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
43%43% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
27%27% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Vb
Vbare – a simple alternative to Protobuf for schema evolution52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Vbare – a simple alternative to Protobuf for schema evolution

Hacker News2
QD
QDeferred – Alternative for Qt C++ Threading API63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

QDeferred – Alternative for Qt C++ Threading API

Hacker News2
Pi
Pidove, an Alternative to the Java Streams API54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pidove, an Alternative to the Java Streams API

Hacker News28
Ca
Cara – Capnproto Alternative RPC API24%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cara – Capnproto Alternative RPC API

Hacker News1
Pe
Percona Migrator – online MySQL schema migrations in Rails34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Percona Migrator – online MySQL schema migrations in Rails

Hacker News11
Gr
GraphQL simple schema stitching with pseudofragments69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GraphQL simple schema stitching with pseudofragments

Hacker News2
GD
GDSerialize: Godot 4 schema-based serializer51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GDSerialize: Godot 4 schema-based serializer

Hacker News1
GL Api
GL Api35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Schema-enforced AI extraction API with confidence scoring

Indie Hackerscommitment-full-time
En
Enforced, Annotated Schema for Ruby Sequel Models46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Enforced, Annotated Schema for Ruby Sequel Models

Hacker News22
DooCloud
DooCloud31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Schema → live production API in under 5 minutes.

Indie Hackers1apis