DEV Community

Cover image for How to build a GraphQL API with TypeGraphQL and TypeORM

How to build a GraphQL API with TypeGraphQL and TypeORM

Brian Neville-O'Neill on January 17, 2020

Written by Rahman Fadhil✏️ GraphQL’s popularity is constantly growing, and it’s no mystery as to why: it’s a great tool that solves many common pr...
Collapse
 
fedebabrauskas profile image
Federico Babrauskas

Very nice post!

There is something like TypeORM but for NoSQL databases (MongoDB, etc)?

Thank you :)

Collapse
 
theonlybeardedbeast profile image
TheOnlyBeardedBeast

Hi, I have the same problem for my company project, TypeOrm has mongo db support but it is community based, I found alternatives like mikro orm mikro-orm.io/ or typegoose github.com/typegoose/typegoose . At this point I am still considering what to use.

Collapse
 
mohammadzainabbas profile image
Mohammad Zain Abbas • Edited

Awesome post!

However,

import {buildSchema} from "type-graphql" is missing from index.ts

Looking forward for more posts like this one :')