nestjs-auth-graphql-mikroorm-starter
docs.nestjs.com
nestjs-auth-graphql-mikroorm-starter | docs.nestjs.com | |
---|---|---|
4 | 5 | |
36 | 1,099 | |
- | 1.4% | |
3.6 | 9.0 | |
about 3 years ago | 8 days 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.
docs.nestjs.com
-
Api Docs v2.0-beta prototype for NestJS 😻 🚀
I hope you can appreciate this work started by @brunnerlivio 4 years ago and carried on by me always with his supervision 🙌, and that it can be useful during your projects with NestJS.😻 🙏🏻 ( For more information about the "history" of this project as it started, see this PR: https://github.com/nestjs/docs.nestjs.com/pull/413)
- Where to learn nestjs
-
Example of how to use a TypeORM custom repository (uptodate)
When TypeORM release version v0.3.0 it breaks somethings including custom repositories, this later cause that Custom Repository were deleted from the official documentation.
-
nestjs imports/exports services
You can also read it from here: https://github.com/nestjs/docs.nestjs.com/blob/master/content/fundamentals/circular-dependency.md
-
Best ORM for use with Typescript?
One of the core members of the NestJS team here: I agree. I see so many posts about how Mikro is light years ahead of TypeORM. I'm personally not really for ORMs in general, but I wish Kamil didn't go and create @nestjs/sequelize. I believe he created the @nestjs/typeorm package before Mikro got too much steam and popularity. There's also discussion in a PR about adding a recipe for MikroORM so that the community becomes more aware of it.
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.
bookshelf-orm - OR-Mapping based on Bookshelf.js
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
nest-typeorm-custom-repository - TypeORM with a Custom Repository
slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.
ts-mysql-plugin - A typescript language service plugin that gives superpowers to SQL tagged template literals.
nestjs-ioredis - IORedis module for Nest
start - Kyoto starter project
wfh - E-commerce app built using Angular, NestJs and MongoDB
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
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀