• 2 Posts
  • 31 Comments
Joined 1 year ago
cake
Cake day: March 15th, 2023

help-circle



  • Thanks for the question. GraphQL works with multiple languages, Cuple works only with Typescript. Despite this drawback this also gives you some advantages:

    • The Request and Response types are auto-inferred from the endpoint you write
    • Because the types are in Typescript you don’t need to generate a client, you just simply use it with @cuple/client and get instant feedback.
    • You don’t have to learn another language. It’s just typescript.

    Practically it means less boilerplate and it let’s you focus on the feature you write. Cuple is also not a query language, you get what the server sends you, it’s more likely a type-safe FFI binding. With Cuple you can build a REST API, or anything similar to that with HTTP method, header, path, query, body, and you can use it type-safely.

















  • I made a home inventory management software, because I don’t have much space in my flat, so I track every single piece of the compressed pile of boxes; with qr codes on them.

    It’s a very simple app but you should have a printer to print qr codes for the boxes.

    The documentation lacks some detail, so ask anything about it, if you want to try it.

    https://github.com/fxdave/DavidHomeVentory

    EDIT: yeah I didn’t update the readme. The installation may not work. So tell me if you want to give it shot.

    It looks like this in action btw: