nestjs-auth-graphql-starter
ts-mysql-plugin
nestjs-auth-graphql-starter | ts-mysql-plugin | |
---|---|---|
4 | 1 | |
4 | 316 | |
- | 0.0% | |
0.0 | 0.9 | |
almost 3 years ago | 7 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.
nestjs-auth-graphql-starter
-
Node JS boilerplate app with 3 layered architecture, separate loaders, event emitters for background jobs, jest for testing.
If you want Typescript maybe my NestJS starters for TypeORM and MikroORM are more up your alley. (;
-
Is it easier to move from sql to NoSQL on a project or vice versa (using node)
As for project setup, something as big as Upwork in a production environment IMHO would be using a framework like NestJS instead of barebones ExpressJS, as it offers more abstractions. If you'd like to see how I implemented all the features an API like that would need, I urge you to check out my NestJS GraphQL w/ authentication boilerplate! It also features REST endpoints if you don't want to use GQL.
-
Frustrated about ORMs
I've been using TypeORM for a good while now. I also have a boilerplate where I use it in NestJS, since that's my backend framework of choice, and am currently working on an analog version of that one using MikroORM.
-
Code First vs Type First
I also have a boilerplate which I can always clone and get started with quickly. This makes it a very streamlined process as it also uses GraphQL-Utils to help me optimize queries with SQL.
ts-mysql-plugin
-
Frustrated about ORMs
This is what we've been using at Segment: - https://github.com/segmentio/ts-mysql-plugin (for autocomplete and query validation) - https://github.com/nettofarah/mysql-schema-ts (generate TS interfaces for your DB) - An internal migration tool we'll open source at some point that is built on top of sqlize migrations: https://sequelize.org/v3/docs/migrations/
What are some alternatives?
slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.
prisma-examples - 🚀 Ready-to-run Prisma example projects
nestjs-auth-graphql-mikroorm-starter - A NestJS boilerplate with authentication, GraphQL and MikroORM.
graphql-code-generator - A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
docs - 📚 Prisma Documentation
nodejs-starter - Node js Starter app with express, mongoose, JWT token based authentication using 3 layer architecture, PubSub Pattern, and event emitters for background jobs
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB