schemats
relay-starter-kit
schemats | relay-starter-kit | |
---|---|---|
2 | 9 | |
1,024 | 3,820 | |
0.0% | - | |
0.0 | 7.1 | |
over 2 years ago | 3 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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.
schemats
-
GraphQL error handling to the max with Typescript, codegen and fp-ts
:::note When using remote APIs, we often have the possibility to generate the types automatically from a JSON schema for REST APIs, from protobuf files for gRPC-based APIs, from a database schema, etc. You might even be using an external API through an SDK that already provides you with all types. In such cases, the creation of specialized Error classes is not mandatory. However, it might still be a good idea to do so to provide application-specific errors rather than bubbling up 3rd-party low-level errors. For such cases, the upcoming Ecma TC39 proposal for Error Cause is useful as it allows to chain errors. Polyfills exist: Pony Cause or error-cause. :::
-
Preferred SQL ORM
Using a library such as that one https://github.com/SweetIQ/schemats
relay-starter-kit
-
Is NEXT.JS really that helpful versus react + express?
https://github.com/kriasoft/react-starter-kit (or, relay-starter-kit)
- Ask HN: Who wants to be hired? (June 2022)
-
Best Ways to Make an Ecommerce Store on Node.js in 2022 | Guide for Beginners
GitHub
-
What is the consensus about using ORM in node js applications?
It also helps to have a REPL shell for Knex.js โ https://i.imgur.com/P5bVdoC.gif
-
graphql-code-generator - how do I generate enums from TypeScript enums?
I generate TypeScript enums and types from the actual database schema using knex-types as part of the yarn db:reset script that used during local development (after making changes to the db schema migration files). See example project.
-
๐ฐ๐ฆธ Production-ready template for backends created with Node.js, Typescript and Express
I tried to take advantage of TypeORM in a couple of projects, but then reverted back to knex + knex-types โ just a PostgreSQL client with query builder works great, IMO, especially for GraphQL API development.
-
Caching in GraphQL
GraphQL API and Relay Starter Kitโ an example of implementing GraphQL API optimized for the serverless environment (Google Cloud Functions) + a reverse proxy using Cloudflare Workers
-
Looking for know how on managing Cron Jobs
It helps to have a monorepo setup with packages/projects such as "api", "worker" (cron job) etc. all consuming the same environment variables (db connection settings etc.), when the cron job "serverless" function is deployed, it just picks the required environment variables from the shared "env" folder/package.
- GraphQL API and Relay Starter Kit
What are some alternatives?
crystal - ๐ฎ Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!
hono - Web Framework built on Web Standards
knex-types - Generate TypeScript definitions (types) from a PostgreSQL database schema.
miniflare - ๐ฅ Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.
deno-nessie - A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
nestjs-prisma-monorepo - ๐ NestJS + Prisma + Yarn Workspaces (Monorepo) full-stack project template
fp-ts - Functional programming in TypeScript
mantine-next-template - Mantine + Next.js pages router template [Moved to: https://github.com/mantinedev/next-pages-template]
sql-lint - An SQL linter
notion-cloudflare-worker - A Github Action CI wrapper for Fruition setup for automatic deployment to CloudFlare Worker, to help you use your Notion with custom domain
graphql-error-handling-with-union-and-fpts
SkyOffice - Immersive virtual office built with Phaser, React, Redux, PeerJS, and Colyseus.