graphql-ts-example icon indicating copy to clipboard operation
graphql-ts-example copied to clipboard

trafficstars

graphql-ts-example

This is the repository for the project built in this tutorial where I explained how to use GraphQL and TypeScript, and TypeGraphQL to build a GraphQL API.

Running the app

To get started, you need to ensure that you have Node.js installed. Then follow the instructions below to get the app running locally:

  • Clone the repository:

    git clone [email protected]:dillionmegida/graphql-ts-example.git
    cd graphql-ts-example
    
  • Install dependencies

    npm install
    
  • Run the app

    npm start
    

When the development server is running, you can visit the GraphQL playground at http://localhost:8000/graphql and query the APIs. It looks like this:

GraphQL playground showing working queries