/graphql-rest-typescript-example

Apollo + Sofa + Swagger UI + TypeScript Example

Primary LanguageTypeScript

Apollo Express + Sofa + Swagger UI Example

This is a basic example of settings up a GraphQL Server using Typescript and wrapping those endpoints with automatically generated REST APIs. We're using Sofa to use generate the REST APIs, and swagger to expose documentation.

Getting Started

  1. Install Node Depdencies yarn
  2. Start Express Server yarn start

This produces three endpoints:

Further Readings