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

https://github.com/michalsnik/example-graphql-api

Example API with GraphQL endpoint in TypeScript
https://github.com/michalsnik/example-graphql-api

Last synced: 27 days ago
JSON representation

Example API with GraphQL endpoint in TypeScript

Awesome Lists containing this project

README

        

# example-graphql-api

This is an example GraphQL API in TypeScript.

Complete stack:
- TypeScript
- GraphQL
- Inversify.js
- TypeORM
- Postgresql

## Installation

Make sure you have `yarn` installed, and run:

```
yarn install
```

## Development

Run:

```
yarn start
```

There are 3 endpoints available:
- GraphQL endpoint: [http://localhost:3000/graphql](http://localhost:3000/graphql)
- GraphiQL endpoint, where you can test different queries: [http://localhost:3000/graphiql](http://localhost:3000/graphiql)
- Schema overview endpoint: [http://localhost:3000/schema](http://localhost:3000/schema)