I have here a where condition in which I need to find things that are not equal to the ID field (primary key) of the staff members table, however for ...
I have here a where condition in which I need to find things that are not equal to the ID field (primary key) of the staff members table, however for ...
I am attempting to port an application that had used sequelize 3.30.4 and I'm updating to 6.13, I'm assuming some things have changed because I can't ...
I have the path: And two functions, the pre: And the handler: How can I link the return value of the validateJWT function to use it in the re ...
I have a hapijs project which is using the hapi-mongodb plugin. In the handler I am using the hapi-mongodb plugin to make db calls. See below I wa ...
I'm deploying a frontend website using Firebase hosting and a nodejs backend APIs using cloud run hosted container. I'm using Firebase rewrite to red ...
Issue I made: https://github.com/hapijs/hapi/issues/4307 I was wondering if anyone had come across this in hapijs before, I can't redirect with query ...
Basic problem: you've followed the tutorial, you've fired up the Hapi server, it's running... but it doesn't work. A direct call via curl will get som ...
Validate the date field to be greater than x days from now. Right now I have this snippet that checks if the date is greater than now. But I want ...
I tried using await to make my asynchronous function works like synchronous task, it works for regular function. But this doesn't work on my anonymous ...
I`m going to update my service from HAPI v18 to HAPI v20.1.4 On the previous HAPI version, I was able to check registered strategies using server._cor ...
So, I have a RESTful API (built with Hapi.js) that has endpoints consumed by users and my front-end app (built with Next.js). GET api/candies is one o ...
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 ...
I used the @hapi/basic plugin and I wrote validate function like the tutorial. It works correctly and I can log in with the correct username and passw ...
I am following the HapiJS tutorial to create a server and using unit test. This is my server.js file. I create an export function who will be calle ...
I am try to implement Typeform in nodejs app. To get typeform responses I need to call https://api.typeform.com/oauth/authorize?client_id={your_client ...
I studied a bunch of articles and read tons of documentations without much result. I have a Angular SPA app that uses routing, when in localhost my ap ...
I am trying to make an API that can accept and parse a CSV file using HapiJS in typescript. I tested the following API out in nodeJS and it turned out ...
When doing this: I get this message: (node:23384) UnhandledPromiseRejectionWarning: TypeError: res.once is not a function I checked that my other ...
How to save any type of file or image using Hapi.js I am confusing for using which type of package or any? to save file ...
I want to add a middleware to check the header values. if the expected do not present in the header then I want throw an error on API response. Follow ...