Coder Social home page Coder Social logo

graphql-typescript-demo's Introduction

Hi there ๐Ÿ‘‹

I think I could split my own private world in two parts โ€” sports and technology. Iโ€™m practicing martial arts and doing kettlebell trainings. Plus, I love motorsports (F1, FE). When it comes to the other part, Iโ€™m following technology news, learning a lot about A.I. and machine learning, and programming โ€” both as a hobby and professionally. Thanks to Codetain I can develop my skills and interests among wonderful talented and passionate people! The diversity of our personalities and professional experience makes our meetings extra exciting and we always come up with unexpected but effective solutions for various problems!

Find me at social media โšก

DominikMarciniszyn DMInsta | Twitter DMFb | Facebook

My github stats

Top Langs

๐Ÿ“• Latest Blog Posts

graphql-typescript-demo's People

Contributors

dependabot[bot] avatar dominikmarciniszyn avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

graphql-typescript-demo's Issues

About Fastify and Nest

Hello !

In advance, thank you for your work. It helped me a lot.

I've a small issue, I'm trying to integrate Nest with Typeorm and Fastify. Here my main.ts :
Method listen doesn't exist on apollo-server-fastify :(

import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import {
  FastifyAdapter,
  NestFastifyApplication,
} from '@nestjs/platform-fastify';
import { ValidationPipe } from '@nestjs/common';
import { buildSchema } from 'type-graphql';
import { CatResolver } from './resolver/cat.resolver';
import { ApolloServer } from 'apollo-server-fastify';

async function bootstrap() {
  const app = await NestFactory.create<NestFastifyApplication>(
    AppModule,
    new FastifyAdapter(),
    {
      logger: ['error', 'warn', 'log'],
    },
  );

  const schema = await buildSchema({ resolvers: [CatResolver] });
  const server = await new ApolloServer({ schema });
  app.enableCors();
  app.useGlobalPipes(
    new ValidationPipe({
      disableErrorMessages: false,
    }),
  );
  await app.listen(3000);
}
bootstrap();

image

Do you know how I can make it work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.