nestjs-typegoose
nx-node-apollo-grahql-mongo
nestjs-typegoose | nx-node-apollo-grahql-mongo | |
---|---|---|
2 | 1 | |
286 | 24 | |
- | - | |
0.0 | 0.0 | |
9 days ago | over 2 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-typegoose
- Is it possible to generate Mongoose schemas?
-
On Nestjs
As much as I don't like to use it, there are people who decide that NoSQL and MongoDB are the way to go for their application. Before v7, Nest didn't provide it's own decorators for a mongoose integration, and developers had to use the standard schema approach. While there's nothing wrong with this, it definitely does bring in some pain points when it comes to types and DTOs, so a SchemaFactory was created to allow developers to keep using classes to define their mongoose schemas. This works pretty well, but does admittedly lack some features, like virtuals and static methods. These can be added to the generated schema, but Typescript will not know about them. I usually suggest people use nestjs-typegoose instead of Mongoose/Typegoose integration with NestJS.
nx-node-apollo-grahql-mongo
-
Building GraphQL API with Nodejs, TypeGraphQL , Typegoose and Troubleshooting common challenges.
I have created an boilerplate GraphQL API with Node.js, Apollo, TypeGraphQL , TypeScript , Nx, MongoDB , typegoose. You may want to check that out, here's the repository github.com/DevUnderflow/nx-node-apollo-grahql-mongo
What are some alternatives?
MikroORM - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.
tensei - 🚀 Content management and distribution with a touch of elegance.
prisma1 - 💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB) [deprecated]
starter-graphql-next-js - Advanced Starter GraphQL Next js Crud Mongodb
crud - NestJs CRUD for RESTful APIs
SaaS Boilerplate - Build your own SaaS business with SaaS boilerplate. Productive stack: React, Material-UI, Next, MobX, WebSockets, Express, Node, Mongoose, MongoDB. Written with TypeScript.
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
node-rem - Node REM - NodeJS Rest Express MongoDB and more: typescript, passport, JWT, socket.io, HTTPS, HTTP2, async/await, nodemailer, templates, pagination, docker, etc. Live Demo: https://node-rem-ngduc.vercel.app
mongoose-tsgen - A plug-n-play Typescript interface generator for Mongoose.
wertik-js - 💪 A library that powers your app with GraphQL + Rest API
typegoose - Typegoose - Define Mongoose models using TypeScript classes.
fastify-typescript-generator - generates new fastify applications in everyone's favourite language typescript with various options to choose from based on your project needs