- Node.js version: v16.17.0
- npm version: 8.15.0
npm install
npm run human-repository
- When prompted, enter
1
to add a person. - Enter name.
- Enter age.
- If data entered is not acceptable, you will be prompted to try again.
- Enter
1
to confirm data. - Check data on command screen.
- When prompted, enter
2
to see list of all humans ordered by age (and alphabetically in case of identical ages).
- When prompted, enter
3
to see list of all humans ordered alphabetically, disregarding ages.
- When prompted, enter
4
to see list of age groups. - Enter number according to age group.
- See list of humans in selected age group.
- When prompted, enter
5
to exit repository. - If you wish to interact with the repository again, follow instructions on Running App