royce-typescript-challenge
v1.0.0
Published
Included are two api functions, listPets and listPeople, that return a list of pets and people respectively.
Downloads
3
Readme
Royce Typescript Test
Included are two api functions, listPets and listPeople, that return a list of pets and people respectively.
You must create a program, either as command line node application or a web app, that does the following.
- Displays data from each list.
- The user can select a person or pet and view information about them.
- Allow the user to search for a particular name or person. Fetch the data from the api each time.
- Allow the user to create 'register' a pet to a person. Create a record with the id of the pet and the person and store it either in memory or in a json file.
- Create an 'api' function that retrieves the records of pet ownership, when a user selects a person or pet, also display corresponding owner(s) of that pet or corresponding pets owned by that person.