aaronhayes / graphql-rest-typescript-example

Apollo + Sofa + Swagger UI + TypeScript Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Apollo + Sofa + Swagger UI + TypeScript Example


Languages

Language:TypeScript 100.0%