nnance / express-hapi-graphql Goto Github PK
View Code? Open in Web Editor NEWCommon handler for express, hapi and koa
Common handler for express, hapi and koa
Same error happens when running npm run dev:express
bkinsey@kinsey-Inspiron-3551:~/opt/nnance/express-hapi-graphql$ npm run dev:hapi
> [email protected] dev:hapi /home/bkinsey/opt/nnance/express-hapi-graphql
> nodemon ./dist/hapi.js
[nodemon] 1.9.2
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node ./dist/hapi.js`
module.js:440
throw err;
^
Error: Cannot find module 'graphql'
at Function.Module._resolveFilename (module.js:438:15)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/bkinsey/opt/nnance/express-hapi-graphql/dist/core/graphqlServer.js:2:17)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
[nodemon] app crashed - waiting for file changes before starting...
Using a project like express-graphql, it is really easy to switch to GraphiQL for testing out the schema. see https://github.com/leebenson/graphql-with-sequelize/blob/master/server.js
What would it take to get graphiql up and running with this project?
// Graphiql
app.use('/graphql', GraphHTTP({
schema: Schema,
pretty: true,
graphiql: true
}));
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.