beam
joist-orm
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
beam
-
StyleX – Meta's Styling Library
Nice! We copied StyleX's "type-safe extensions" in Truss [1] so things like `` are allowed (setting margin is fine) while disallowing `` (anything "not margin") that would mess up the components internal impl details with a compile error.
That said, we don't actually use the feature that much, vs. higher-level logical props like ``.
I know we're supposed to use build-time CSS-in-JS these days, but afaiu they don't support the rare-but-handy "just spread together ~4-5 different object literals from ~random different conditionals + props", i.e. intermixing styles some inside the component + outside the component, which emotion handles really well.
Basically this [2]. StyleX says it does "cross-file styles"...but can it support that? I kinda assume not, but I'm not sure.
[1]: https://github.com/homebound-team/truss#xstyles--xss-extensi...
[2]: https://github.com/homebound-team/beam/blob/main/src/compone...
-
Ask HN: Who is hiring? (November 2021)
Homebound | Senior Full Stack Engineer | Full-time | Denver / Remote (US) https://jobs.lever.co/homebound/c645e77e-b65e-44cc-aaa7-ab57...
Homebound’s mission is to create a better way to build homes, leveraging technology to make custom homebuilding simpler and more transparent. We’re delivering on that promise in places that have been impacted by natural disasters, and now we’re expanding to serve customers across the country as they build their perfect home.
Our stack is TypeScript, GraphQL, React, and Postgres in AWS. Feel free to reach out! [email protected].
We open source as much as possible, if you want a glimpse into our stack:
- https://github.com/homebound-team/beam
joist-orm
-
Which ORM would you pick, Prisma or Typeorm
As few comments have already offered alternatives, so I'll mention Joist.
-
Does Typeorm violate the type contract when using relations that aren't explicitly loaded?
I used TypeORM in the past; I had a ton of problems with it. I highly recommend https://joist-orm.io/ instead.
-
What is your favorite way to maintain types and schema in a full stack web app, end-to-end?
Codegen our backend models directly from the db (here a strict 1-1 mapping is a feature imo; we use https://github.com/stephenh/joist-ts/), so we get `Green` added to the backend `Color.ts` for free.
- Joist: An idiomatic ORM library for TypeScript
-
Complex business logic in Node
If you like Rails/ActiveRecord, Joist is our attempt at a "AR-or-better productivity" ORM for TypeScript.
-
Well, shit. Objection.js has been sunset, which ORM/querybuilder did you move to?
Ha, well, as you noted, I'm wary of even bothering to comment :-), but would be great if you checked out Joist: https://joist-orm.io/
-
Looking for a type safe ORM/mapper
Checkout https://github.com/stephenh/joist-ts built from the ground up to be typesafe.
- Ask HN: Who is hiring? (November 2021)
- I used Typeorm in one of our projects and I have nothing but regrets
- What do you think about ORMs?
What are some alternatives?
reval - Instant Meteor reloads
pg-mem - An in memory postgres DB instance for your unit tests
truss - A TypeScript DSL for writing utility CSS in React/JSX
graphql-typescript-factories - TypeScript test builders/factories for GraphQL schemas
signoz - SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
studio - 🎙️ The easiest way to explore and manipulate your data in all of your Prisma projects.
graphql-typescript-factori
kysely - A type-safe typescript SQL query builder
Apache Pulsar - Apache Pulsar - distributed pub-sub messaging system
slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.
TimescaleDB - An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.
Objection.js - An SQL-friendly ORM for Node.js