Skip to content

restoreddev/graphql-nodejs-example

Repository files navigation

GraphQL Node.js Example

This repository holds an example GraphQL server written in Node.js. The code uses Apollo server with Knex, Objection.js and sqlite.

Running Locally

  • Clone the repository
  • Install dependencies: npm install
  • Install knex globally for migrations: npm install -g knex
  • Run knex migrate:latest and knex seed:run to create the database with sample data
  • Execute npm run dev to start the development server on localhost:4000
  • Use an app like Insomnia to send GraphQL queries to the server

About

An example GraphQL server written in Node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published