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
- Host: GitHub
- URL: https://github.com/michalsnik/example-graphql-api
- Owner: michalsnik
- Created: 2017-03-06T20:37:23.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-12T22:35:36.000Z (about 8 years ago)
- Last Synced: 2025-05-05T23:06:25.716Z (27 days ago)
- Language: TypeScript
- Homepage:
- Size: 39.1 KB
- Stars: 17
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)