Lux Group Coding Test
We would like you to create a simple Node.js express server which has a single route, /api/search?q=thailand (the thailand part is a variable).
The new route will request packages from "https://api.luxgroup.com/api/public-offers/", and will return a filtered view of content - with the same structure, but filtering to just show the packages based on text-searching the .result[].name and .result[].location fields for the content in the "q" query param.
Please include:
- a package.json (so we can get deps and run the project)
- suitable test coverage