You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi , I am new to Hapi and this is a very basic question.
We are planning to create a REST Api using Hapi.
Our Application has different features like Chat , Forums Quiz etc. Now my question is should I create separate plugins for these features or just follow the basic this ie, creating routes,handlers, validation etc.
Which is a better way for structuring the entire code?
The text was updated successfully, but these errors were encountered:
You are better off asking this on the https://github.com/hapijs/discuss repo, but my short answer is to start building it without plugins and after a few days, figure out the natural parts and then see if breaking them into plugins makes your code better organized. It is trivial to move in and out of plugins.
Hi , I am new to Hapi and this is a very basic question.
We are planning to create a REST Api using Hapi.
Our Application has different features like Chat , Forums Quiz etc. Now my question is should I create separate plugins for these features or just follow the basic this ie, creating routes,handlers, validation etc.
Which is a better way for structuring the entire code?
The text was updated successfully, but these errors were encountered: