A simple web service using NodeJS that exposes a GET API
- Make sure NodeJS
v9+
is installed on your computer - Clone the repo on your computer
- Run
npm install
for downloading all the dependencies required for this backend - Run
node app
to run the server - Run
npm test
to run the tests
display_name
is a mandatorynon-null
non-empty
property- For filter values that are sent 'false' for e.g. favourites, it has no effect on filtering. It will return both favourites and non-favourites
- For filter params like age, both
minAge
andmaxAge
are mandatory
/matches
Returns all the matches with no criteria
isFavourite
- to get the matches that are marked as favouriteshasPhoto
- to get the matches with photosminAge
- param for passing minimum age of potential matchesmaxAge
- param for passing maximum age of potential matches