Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

Mini GraphQL

Minimal GraphQL server with Express for testing Sentry integration and database errors.

Quick Start

  1. Start PostgreSQL database:

    docker run --name mini-graphql-postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=mini_graphql_test -p 5432:5432 -d postgres
  2. Install dependencies and start server:

    npm install
    npm start
  3. Test GraphQL queries at http://localhost:4434/graphql:

    Test Sentry error:

    query {
      testSentry(input: {})
    }

    Test database error:

    query {
      testDbError(input: {invalidQuery: "test"})
    }

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages