A simple Typescript/GraphQL server boilerplate to get started on your projects in an unopinionated manner. This sample repository exposes a graphql-yoga server on port :4000/graphql
.
npm install
,yarn install
orpnpm install
use npm run dev
to run the development server then visit http://localhost:4000/graphql
to view a GraphiQL interactive IDE or http://localhost:4000
for extra information about graphql-yoga.
use npm run build
. The generated build can be found in the ./dist
folder.
use npm start
then visit port :4000/graphql
for the GraphiQL interactive IDE or :4000
for extra information about graphql-yoga