Welcome to “surprise me!” API. The purpose of the API is to return a surprising response, according to the parameters passed by the client. The surprising response will be chosen from a list of surprising response types, each type has its own internal logic and conditions.
- Chuck Norris Joke (user’s birth year is 2000 or before)
- Kanye West Quote (user’s birth year is after 2000 and the user’s first name doesn’t start with ‘A’ or ‘Z’)
- User Name’s Sum (user’s first name doesn’t start with ‘Q’)
- panda-facts (user’s name is Nofar Vered)
- npm install
- npm start
- npm test