- SignalDesk5 days ago
Original Summary
I contribute to Simfinity.js, an open-source Node.js library for the repetitive part of building a GraphQL backend: CRUD operations, relationships, filters and pagination. The starting point is a set of GraphQLObjectType definitions. Simfinity uses those types and their field metadata to build the API and connect it to storage. You can add validation hooks, authorization rules and custom operations where the application needs more than the generated behavior. Version 3.2 adds a PostgreSQL adapter alongside MongoDB. The PostgreSQL package uses pg and a shared runtime; it doesn't load Mongoose or MongoDB. It creates native relational tables and foreign keys, so this isn't a Mongoose-to-SQL compatibility layer. There are runnable starters in the docs, including a small series/seasons model that makes nested writes and relationships easier to try. Authentication is still the application's responsibility: the starter's demo user is only there to illustrate passing trusted context into operations. Source: https://github.com/simtlix/simfinity.js Docs and starters: https://simtlix.github.io/simfinity.js/ It's Apache-2.0 licensed. I'd be interested in feedback from people building small backends: where does generated CRUD save you time, and where do you want to take over the resolver yourself?   submitted by   /u/Affectionate_Hawk971 [link]   [comments]
- 情报分类:技术学习与提效
- 分类依据:内容涉及技术、AI、软件工具或工程实践
- 信息来源:Reddit · SideProject
- 发布时间:2026/9/16 17:21:48
- No replies yet