presupplied

By stoarca

Presupplied Alternatives

Similar projects and alternatives to presupplied

  • zod

    292 presupplied VS zod

    TypeScript-first schema validation with static type inference

  • zod-to-openapi

    A library that generates OpenAPI (Swagger) docs from Zod schemas

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • api

    2 presupplied VS api

    Instant API: Build type-safe web APIs with JavaScript (by instant-dev)

  • FastAPI

    Easily create robust, standardized API endpoints using lightning-fast database queries (by thestorefront)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better presupplied alternative or higher similarity.

presupplied reviews and mentions

Posts with mentions or reviews of presupplied. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-25.
  • Show HN: Build type-safe web APIs with JavaScript, instantly
    5 projects | news.ycombinator.com | 25 Oct 2023
    We tried for years to do things like this, and in the end an approach using typescript is way, way better than anything else I've seen attempted.

    In my latest project[1], we set up the types for the API. The server and client are both bound by those types, meaning that one cannot change without the other. This fixes an entire class of bugs where backend code gets updated without the corresponding front-end code changing or vice-versa. It also has the nice side-effect that all of the possible return values (including errors) are nicely documented in one file, and that the errors are very consistent. On the frontend we have a "typed fetch" which returns typed results from the API.

    We are also using this for typed access to localStorage, another source of many bugs in past projects, where random keys end up being scattered and causing nondeterministic behavior on different devices.

    You can see how our API type system is implemented here:

    common types for both client and server: https://github.com/stoarca/presupplied/blob/master/images/ps...

    client's typed fetch: https://github.com/stoarca/presupplied/blob/master/images/ps...

    server's typed endpoint definitions: https://github.com/stoarca/presupplied/blob/master/images/ps...

    [1]: We are working on https://app.presupplied.com, a digital home-schooling curriculum to teach 3-year-olds to read. Planning to expand to math, writing, and programming.

Stats

Basic presupplied repo stats
1
0
8.4
5 months ago

stoarca/presupplied is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of presupplied is TypeScript.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com