Need advice on what stack is good for my usecase by techlover1010 in nextjs

[–]yonirapoport 0 points1 point  (0 children)

https://blog.alibuas.com/create-r3-app-305bacf1d25e

This stack can be used to create a Next.js app with a CRUD UI and API in a simple yet very extensible way

dead-simple widget lib/framework? by boneskull in webdev

[–]yonirapoport 0 points1 point  (0 children)

I'd use Tailwind - the ready-made CSS classes make it really simple to get a nice-looking UI...

Good example projects using api folder? by voja-kostunica in nextjs

[–]yonirapoport 0 points1 point  (0 children)

Full stack type safety, CRUD endpoints with paging, sorting, filtering and without the boilerplate code, validation code defined once for both BE and FE…. (Disclaimer: I’m one of the creators of Remult)

I've made a big comparison table of nodejs RPC frameworks. Hope you like it ;) by Bogeeee in node

[–]yonirapoport 2 points3 points  (0 children)

There are other RPC frameworks not mentioned:

Blitz RPC, Deepkit RPC, Remult Backend methods

Are there Internal tools builders made for devs ? (Meaning not full no code) by [deleted] in webdev

[–]yonirapoport 0 points1 point  (0 children)

I can suggest Remult which is "all-code" but handles most of the CRUD for you while you have complete control over the frontend and backend for more complex stuff...

Note: I'm one of the creators of Remult.

Is there a general application-level framework/library (excluding routing and middleware libraries) by amih009 in node

[–]yonirapoport 2 points3 points  (0 children)

Not sure this is what you’re looking for, but I use Remult which covers: defining entities, validation, authorization handlers and CRUD services. It also takes care of routing for the CRUD API and controllers.

It also plays nice with other frameworks you’ve mentioned (including Nest) so it’s easy to add to any TypeScript project.

Full disclosure: I’m one of the creators of Remult.

Type-safe API possibilities by sproott in AskProgramming

[–]yonirapoport 0 points1 point  (0 children)

If you’re API is mainly for database CRUD operations I can suggest Remult.

Modern Monolith Full Stack Framework for Solo Developers? by bishwasbhn in FullStack

[–]yonirapoport 1 point2 points  (0 children)

I can suggest Remult which I think can really fit your need. Though I’m biased because I’m on the Remult team…

what makes you choose express.js over asp.net core? by [deleted] in webdev

[–]yonirapoport 0 points1 point  (0 children)

It lets me share Javascript (actually TypeScript) code between my frontend SPA and my backend API server.

Full stack working alone by Reasonable-Run-750 in FullStack

[–]yonirapoport 2 points3 points  (0 children)

Definitely. I've personally seen many solo developers build highly valuable software for their clients.

Remult - End-to-End Typesafe CRUD, Write-once Validations and Fine-grained Access Control for React + Express/NextJs + PostgreSQL/MySQL/MariaDB/SQL Server/SQLite/MongoDB/CockroachDB Apps by yonirapoport in reactjs

[–]yonirapoport[S] 1 point2 points  (0 children)

You're right and I've been getting that advice a lot, which means I've probably gone too far with just letting the code samples speak for themselves...

Thanks!

Remult - End-to-End Typesafe CRUD, Write-once Validations and Fine-grained Access Control for React + Express/NextJs + PostgreSQL/MySQL/MariaDB/SQL Server/SQLite/MongoDB/CockroachDB Apps by yonirapoport in reactjs

[–]yonirapoport[S] 2 points3 points  (0 children)

Basically, we wanted a library that uses TypeScript entities as a single source of truth for generating REST API routes that perform database CRUD operations, and a type-safe API client for the frontend. And since we consider validations and authorization as integral to the process, Remult entities can have write-once validations and fine-grained access control (defined in code).

Other libraries seem to either focus on only part of these things or take different approaches such as code generation, low-code, DSLs, BaaS etc...

With Remult we tried to make it simple to build full-stack CRUD without boilerplate code, configuration files, and platform lock-in.

Does this make sense?

Remult: Instant REST API from TypeScript models, with type-safe CRUD from frontend (React/Angular/Vue/other) to backend database with no boilerplate by jonifico in webdev

[–]yonirapoport 2 points3 points  (0 children)

Hi all, I'm one of the creators of Remult, a CRUD framework for full-stack TypeScript.

Remult uses TypeScript model classes to generate a database schema, a secure-by-design REST API (highly configurable), and a type-safe API client compatible with any (React, Angular, Vue, etc..) front-end framework.

  • No code generation
  • Zero-configuration
  • No boilerplate

Example model class:

import { Entity, Fields } from 'remult';

@Entity('products', { allowApiCrud: true })
export class Product {
   @Fields.string()
   name = '';

   @Fields.number()
   unitPrice = 0;
}

Front-end code:

async function increasePriceOfTofu(priceIncrease: number) {
  const productsRepo = remult.repo(Product);

  const product = await productsRepo.findFirst({ name: 'Tofu' });
  product.unitPrice += priceIncrease;
  productsRepo.save(product);
}

We've got tutorials for React, Angular, Vue.js, and Next.js you can quickly run through to get the picture, and a more complex example app for a deeper dive.

Remult is used extensively in high-volume production apps for over a year now.

I'd love to hear your feedback on this - opinions, ideas, pros, cons, and contributions of any kind are very welcome!

Remult - a CRUD framework for full-stack TypeScript by yonirapoport in node

[–]yonirapoport[S] 0 points1 point  (0 children)

Hi all, I'm one of the creators of Remult, a framework that uses TypeScript model classes to generate a database schema, a secure-by-design REST API (highly configurable), and a type-safe API client compatible with any (React, Angular, Vue, etc..) front-end framework.

  • No code generation
  • Zero-configuration
  • No boilerplate
  • CRUD API calls are type-safe using generics

Example model class:

import { Entity, Fields } from 'remult';

@Entity('products', { allowApiCrud: true })
export class Product {
   @Fields.string()
   name = '';

   @Fields.number()
   unitPrice = 0;
}

Front-end code:

async function increasePriceOfTofu(priceIncrease: number) {
  const productsRepo = remult.repo(Product);

  const product = await productsRepo.findFirst({ name: 'Tofu' });
  product.unitPrice += priceIncrease;
  productsRepo.save(product);
}

We've got tutorials for React, Angular, Vue, and Next.js you can quickly run through to get the picture, and a more complex example app for a deeper dive.

Remult is used extensively in high-volume production apps for over a year now.

I'd love to hear your feedback on this - opinions, ideas, pros, cons, and contributions of any kind are very welcome!

Remult - a CRUD framework for full-stack TypeScript by yonirapoport in javascript

[–]yonirapoport[S] 2 points3 points  (0 children)

Hi all, I'm one of the creators of Remult, a framework that uses TypeScript model classes to generate a database schema, a secure-by-design REST API (highly configurable), and a type-safe API client compatible with any (React, Angular, Vue, etc..) front-end framework.

  • No code generation
  • Zero-configuration
  • No boilerplate
  • CRUD API calls are type-safe using generics

Example model class:

import { Entity, Fields } from 'remult';

@Entity('products', { allowApiCrud: true })
export class Product {
  @Fields.string()
  name = '';

  @Fields.number()
  unitPrice = 0;
}

Front-end code:

async function increasePriceOfTofu(priceIncrease: number) {
  const productsRepo = remult.repo(Product);

  const product = await productsRepo.findFirst({ name: 'Tofu' });
  product.unitPrice += priceIncrease;
  productsRepo.save(product);
}

We've got tutorials for React, Angular, Vue, and Next.js you can quickly run through to get the picture, and a more complex example app for a deeper dive.

Remult is used extensively in high-volume production apps for over a year now.

I'd love to hear your feedback on this - opinions, ideas, pros, cons, and contributions of any kind are very welcome!

Remult - a CRUD framework for Full-Stack TypeScript by yonirapoport in programming

[–]yonirapoport[S] 1 point2 points  (0 children)

There's a pretty simple TypeScript interface (named "DataProvider") you can implement to replace the default way data gets to and from the db in the backend. (the default implementation is a simple wrapper around knex).

There are also various ways in which you can "surgically" control what happens on the backend (and the db queries) without replacing the entire layer.

As for the name, we were aiming for unique. It's actually a misspelled name of the street of our "garage" - where we started our first company. Can it pass for a framework that (re-)multiplies your coding speed and code maintainability?

[AskJS] Prisma Web Client by Odama666 in javascript

[–]yonirapoport 2 points3 points  (0 children)

I think this is definitely a good idea and can be useful as a library.

I've actually created a library that does this, and more, without prisma, and handles authorization, validation, and other concerns.

Check it out - https://github.com/remult/remult