Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ardatan/TypeGraphQLModules

GraphQL-Modules TypeGraphQL Integration Example
https://github.com/ardatan/TypeGraphQLModules

apollo dependency-injection graphql graphql-modules resolvers-first type-graphql typescript

Last synced: 3 months ago
JSON representation

GraphQL-Modules TypeGraphQL Integration Example

Awesome Lists containing this project

README

        

# GraphQL-Modules TypeGraphQL Integration Example

## Introduction

This repository is an example to integrate [GraphQL-Modules](https://graphql-modules.com/) and TypeGraphQL projects.

----

### Includes

* [GraphQL-Modules](https://graphql-modules.com/)
* [TypeGraphQL](https://19majkel94.github.io/type-graphql)
* [Apollo-Server](https://www.apollographql.com/docs/apollo-server/)
* [Typescript](https://www.typescriptlang.org/)

## Installation

To get started locally, follow these instructions:

1. Clone to your local computer using `git`.
1. Make sure that you have Node installed; see instructions [here](https://nodejs.org/en/download/).
1. Make sure that you have `yarn` installed; see instructions [here](https://yarnpkg.com/lang/en/docs/install/).
1. Run `yarn` (no arguments) from the root of your clone of this project.

## Running the example

To run the example, follow these instructions:

1. `yarn start`. This will use ts-node to compile and run the project.

If you want it to automatically restart the application when changes in the directory are detected, you can use `yarn dev` instead (it's backed by nodemon).