This repo contains a basic NestJS app to be used as base for the tech interview. The goal of the interview is playing around with the technology we use at Maximiliana and facing the challenge of getting to work things which are new to the candidate. It includes an Employees
module with hard-coded data which can be use for reference.
We want you to create a new endpoint under /vehicles/byColor
which is able to return, filtered by a parameterized color, the vehicles stored in a Firebase Realtime DB. The returned object should be a list of objects which just include the plate number and the manufacturer.
So, for example, given color YELLOW
, the expected of the endpoint is as follows:
[
{
"plate": "5685DFS",
"manufacturer": "Seat"
},
{
"plate": "1221HFS",
"manufacturer": "Seat"
}
]
Finally, the app should be deployed to Google Cloud Run as an unauthenticated service. The Realtime DB can be accessed here once logged in with the provided Google account.
/vehicles/byColor