This is an example used to illustrate a blog post about sending array as query parameters
This example goal is to demonstrate multiple way of handling array query parameters when developing with HapiJS. There are 3 points of interest:
client.js: client side code which usesaxiosto call both HapiJS servers.server-query-setting.js: first HapiJS server which handles array query params using theserver.options.query.parseroption.server-joi-example.js: second HapiJS server which handles array query params usingjoivalidation.
npm start will start both servers and loads a webpack-dev-server for the client side.