Skip to content

mr-pascal/medium-fastify-graphql

Repository files navigation

medium-fastify-graphql

Small boilerplate to get started with Fastify and GraphQL using mercurius.

Getting started

### Install all modules
npm install

### Start local server on `http://localhost:8080/`
npm run dev

GraphQL Playground: http://localhost:8080/playground

GraphQL Endpoint: http://localhost:8080/graphql

NPM Commands

Using the below command substituting XXX in npm run XXX.

Command Effect
test Run all tests
clean Delete dist folder
build Trigger a clean build
start Start the server using the output from npm run build ( -> dist/index.js)
dev Directly start the server via the TypeScript files, without transpiling, using ts-node-dev
lint Run eslint on all TypeScript files under src
lint:write Run eslint and fix all TypeScript files under src

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published