This is an example GraphQL API in TypeScript.
Complete stack:
- TypeScript
- GraphQL
- Inversify.js
- TypeORM
- Postgresql
Make sure you have yarn
installed, and run:
yarn install
Run:
yarn start
There are 3 endpoints available:
- GraphQL endpoint: http://localhost:3000/graphql
- GraphiQL endpoint, where you can test different queries: http://localhost:3000/graphiql
- Schema overview endpoint: http://localhost:3000/schema