I would like to know how to set the scope to a http request in my Ionic App. We are using Hapi Framework for the Backend built with Node.JS. I’m working with a team so I don’t have enough knowledge on the server side since I’m working on the Ionic App. Also, I’m setting a Bearer Token to the request
Tag: hapi.js
Is it necessary to use multiple Joi schema validations with Hapi?
I looked at an existing codebase and and I noticed that the codebase had two schema validations for what I feel a single schema could validate as the second schema is an offshoot of the first. See codebase below. Now these schema are being used in the following routes: I am new to Hapi but have some experience with Express
Hapijs server start error – Invalid server options
I am using this simple server program which gave me the following error on server startup and my package.json has dependencies set this way I tried searching for this issue everywhere and found an exact one here but the versions are too old to be compared. How do I resolve this problem? Answer The options you’re passing need to be