kidtronnix / hapi-dash Goto Github PK
View Code? Open in Web Editor NEWBoilerplate Hapi Web and API Server Example, with frontend dashboard.
Home Page: hapi-dash.smaxwellstewart.com
License: MIT License
Boilerplate Hapi Web and API Server Example, with frontend dashboard.
Home Page: hapi-dash.smaxwellstewart.com
License: MIT License
auth:"core" is not working.. when i used auth:"core", it is giving error unauthorised
A cool project.
Can you please tell what is the credentials for core? Or how do i simply change it to something else?
somewhere here in config.js?
"coreCreds": {
"id": "core",
"key": "9TKUwfKHIkNbF9XbGdDudA3fiXzxJg4tHATYJrr16vMENNyX9UUvbNkeeRRxQHC9",
"algorithm": "sha256"
}
Thanks. I am already in process to build an app with this ๐
This project is officially deprecated. But never fear i have a new project lummox.
The reasons for switching to this new project is that it aims to be a more reusable and flexible component to manager users, and provide a simple dashboard UI.
It also has the key benefit of having 100% code coverage. I hope this will make the code much easier to maintain in the future.
Any feedback is greatly appreciated.
I'm new to node/hapi etc and am looking for some advice;
It seems to me like this type of setup adds a lot of complication to the application.
You can separate concerns via a plugin or exposing functionality to your app with plugin.method or server.method without need to make and authenticate an http request.
I just want to know if there's something I'm missing as far of the benefits of setting up the api as another server so I can decide what is the right route to take for my application.
Thanks and good work on the application!
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
I realize there may be little impetus to do this, but I figured I'd make an issue to get hapi up-to-date, especially with hapi9 coming-out before long!
First off, great work on this project! It's going to allow me to get a configuration dashboard up and running with very little effort. Thanks for all your work.
Problem: I am unable to register new users. I get the message "Success! An activation email has been sent to you."
, but I do not receive and email.
Is there a configuration setting that I am missing?
Deps are really out of date.
Mongo host: (127.0.0.1)
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at ReadStream.EventEmitter.addListener (events.js:179:15)
at ReadStream.Readable.on (_stream_readable.js:667:33)
at new Interface (readline.js:124:11)
at Object.exports.createInterface (readline.js:38:10)
at read (/Github/hapi-dash/node_modules/prompt/node_modules/read/lib/read.js:45:23)
at EventEmitter.prompt.getInput (/Github/hapi-dash/node_modules/prompt/lib/prompt.js:502:3)
at get (/Github/hapi-dash/node_modules/prompt/lib/prompt.js:321:12)
at /Github/hapi-dash/node_modules/prompt/lib/prompt.js:280:7
at iterate (/Github/hapi-dash/node_modules/prompt/node_modules/utile/node_modules/async/lib/async.js:134:13)
at /Github/hapi-dash/node_modules/prompt/node_modules/utile/node_modules/async/lib/async.js:145:25
Hi!
I did all from your instructions, but can't run server:
MacBook-Air-Artem:hapi-dash artyom$ node bin/start.js
module.js:339
throw err;
^
Error: Cannot find module '../config'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/Users/artyom/projects/hapi/hapi-dash/bin/start.js:2:14)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:467:10)
MacBook-Air-Artem:hapi-dash artyom$ node servers/api/server.js
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
module.js:339
throw err;
^
Error: Cannot find module '../../config'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/Users/artyom/projects/hapi/hapi-dash/servers/api/server.js:7:14)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:467:10)
MacBook-Air-Artem:hapi-dash artyom$
Env:
OS X 10.10.5
node 4.2.1
npm 3.3.12
Any chance to see this project working with last hapi.js and other modules version?
Hey there - really interesting project.
Thought I'd let you know that on a clean install...
git clone https://github.com/smaxwellstewart/hapi-dash.git
cd hapi-dash
npm install
The installer ends with a [email protected] postinstall:
bower install` error.
Also on...
npm install -g pm2
node start.js
It errors on Error: Cannot find module './config'
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.