Giter Club home page Giter Club logo

hapi-ninja's People

Contributors

jeffbski avatar jonlinper avatar nicolasritouet avatar poeticninja avatar tbenade avatar toymachiner62 avatar treshenry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hapi-ninja's Issues

Integrating Mongoose structure

Hi, I'm using your project structure and find that very helpful. Can you advice me on how would you structure this project adding mongoose integration.
I would need to use models' logic in controllers. Could you help me on that?

No database or notification directories

Your repo looks great. Unfortunately, I'm not able to start the server due to the following message:

Error: Cannot find module './server/database/index.js'

And upon looking at the 'server.js' file, it appears that the file is also requesting the 'index.js' file from the 'notifications' folder, of which also does not appear to exist in your 'hapi-ninja' folder structure. Any suggestions?

exception

Hi,

I've followed the installation on a Windows machine.

I'm getting the following..

C:\boliderplate>node server
Server started at: http://0.0.0.0:3000
140407/093141.856, request, http://0.0.0.0:3000: get / {} 200 (31ms)

events.js:72
throw er; // Unhandled 'error' event
^
Error: EISDIR, write

I made a child project.

Hey Saul (+contributors),

Love the project. Found it an amaxing tool. I loved it so much I used it in a new project.

CODE
https://github.com/smaxwellstewart/hapi-dash

DEMO
hapi-dash.smaxwellstewart.com

I joined hapi-ninja to a free template theme and added realtime messaging (Socket.IO) and out-the-box authentication. I used form based authentication for a frontend server and Hawk authentica for an API server.

There are also out-the-box configurable RESTful endpoint for doing basic CRUD of resources into MongoDB.

I am deploying a little differently in terms of starting up the servers, as i use pm2.

I could not of done this without your brilliant project, so thank you. I felt the goal of my stack was too different and a little experimental to try and maintain forks. But I am happy to conribute any stuff of 'hapi-dash' into 'hapi-ninja.

Lastly, if any contributors find any bugs, don't hesitate to open an issue, would be really appreciated.

Open-source love,
Simon

The server object is passed to the routes module, but is not used

It's not a bug, but might be a typo.

The routes module (server/config/routes.js) is passed the server object (in the main server.js module). However server is not used in routes. That module is just returning the route table (an array with the route configurations).

I believe we should have

   server.route(routeTable);

in server/config/routes.js instead of server.js, no?

About Models

How can i create models? What ORM do you use?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.