entria / koa-passport-mongoose-graphql Goto Github PK
View Code? Open in Web Editor NEWKoa 2 server with Passport + Mongoose + GraphQL
Koa 2 server with Passport + Mongoose + GraphQL
Any help?
import 'babel-polyfill';
^^^^^^
SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:588:28)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
[nodemon] app crashed - waiting for file changes before starting...
Related to #10
a cool boilerplate should have a nice logo
I just forked the repo and when building it for the first time (after running npm i
) I faced an error:
Apparently it's because the lodash's version used in the async module, but I'm not figuring out what other package uses async as a dependency.
Any thoughts? Probably it's just updating some package, just need to know which one ๐
Use standard to enforce consistent style and catch errors.
bug report:
connect dataBase function has been changed to a default export,
https://github.com/entria/koa-passport-mongoose-graphql/blob/master/src/server/db/index.js#L3
but here, curly brackets in import statement is unnecessary
https://github.com/entria/koa-passport-mongoose-graphql/blob/master/src/index.js#L4
use https://github.com/rolodato/dotenv-safe to load env vars
to define PORT, define SECRETs and so on
add a build script based on https://github.com/RisingStack/graffiti-mongoose
Hello, I am starting my journey to graphql and keep coming back to your stack here as the most complete with modules I am looking for. I can get it launched but am having a hard time finding how to get into the http://localhost:4000/graphql - everything is returning a 404.
Got a sec to help me?
Create a npm run console
based on this gist https://gist.github.com/nnarhinen/52d1744ca881172729de
having a repl on server context, enable easy run of experiments much like ipython
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.