Skip to content
An example GraphQL server written in Node.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
db
migrations
resolvers
seeds
.gitignore
README.md
index.js
knexfile.js
package-lock.json
package.json
schema.graphql

README.md

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
You can’t perform that action at this time.