nestjs-auth-graphql-mikroorm-starter
nestjs-auth-graphql-starter
nestjs-auth-graphql-mikroorm-starter | nestjs-auth-graphql-starter | |
---|---|---|
4 | 4 | |
36 | 4 | |
- | - | |
3.6 | 0.0 | |
about 3 years ago | almost 3 years 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-mikroorm-starter
-
SAME BACKEND FOR WEB APP AND MOBILE APP ?
GitHub - Jenyus-Org/nestjs-auth-graphql-mikroorm-starter: A NestJS boilerplate with authentication, GraphQL and MikroORM.
-
Enterprise GraphQL
Well, the best I can offer is the NestJS starter that I go over in the third blog post I linked. I have two implementations of it, one using TypeORM and one using MikroORM. Other, more complex, projects unfortunately aren't open-source for the time-being, but they all implement the same patterns that I went over in the posts.
-
Frustrated about ORMs
The good thing about NestJS at least is that MikroORM has a great integration for it. It may not be first-party but at least it's almost a drop-in replacement for TypeORM and I'm really hoping it starts doing well. I've also started to transition to it for my company and have been working in a boilerplate for this setup if you're curious in checking it out.
-
Best ORM for use with Typescript?
I see, thanks! I'm actually working on implementing that in my MikroORM NestJS boilerplate which is a copy of my TypeORM version of that. I'm mostly just a little worried about production performance and stability, but at least MikroORM uses KnexJS under the hood so I have a very familiar query builder to work with if issues arise whereas TypeORM's query builder isn't that great IMHO.
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.
What are some alternatives?
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.
slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
prisma-examples - 🚀 Ready-to-run Prisma example projects
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.
ts-mysql-plugin - A typescript language service plugin that gives superpowers to SQL tagged template literals.
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
start - Kyoto starter project
docs - 📚 Prisma Documentation
starter - Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js