mohameddiopcodes / simple-graphql-server

A simple GraphQL Server running on Typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Simple GraphQL Server

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.

install command

  • npm install, yarn install or pnpm install

dev command

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.

build command

use npm run build. The generated build can be found in the ./dist folder.

start command

use npm start then visit port :4000/graphql for the GraphiQL interactive IDE or :4000 for extra information about graphql-yoga

About

A simple GraphQL Server running on Typescript


Languages

Language:TypeScript 100.0%