Last active
March 3, 2016 02:23
-
-
Save dpaez/1e11b9b4af9ad58ef5db to your computer and use it in GitHub Desktop.
HapiJS Server Structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// HapiJS server directory layout | |
└── server | |
├── config // Confidence config | |
├── index.js // Server entry point | |
├── methods // Server methods | |
├── plugins // All your plugins | |
├── routes // All your routes and pre's | |
│ └── route | |
│ ├── pre // route pre-requisites | |
│ ├── index.js // route config | |
│ └── handler // route handler | |
└── views // HTML views, using your favourite template engine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment