By Max Scher
For a live view of the deployed application: Click Here.
This application allows the staff at Wayward Pines Zoo keep track of all of their animals, cataloging, editing, and filtering all pertinent information for each relevant to the residents of the zoo.
-
Configuration/Dependencies * You will need the following things properly installed on your computer.
- Git
- Node.js (with NPM)
- Angular.js
- Typescript
- Bower
- Angular CLI
-
Specifications * It can list all animals currently admitted at the zoo. * It can filter the list by age (old or young). * It can allow users to add a newly-admitted animal to the app, along with the new animal's species, name, age, diet, zoo location, number of needed caretakers, sex, one like and one dislike. * It can allow users to edit an animal's name, age, or caretakers.
-
Architectural/Component Outline * Main Page
- Add-Animal Component
- Conditional statement displaying an 'Add' button or Animal-Submission Form
- List-Animal Component
- Drop-Down Menu to Filter By Age: All, Young, or Old.
- Loop/List through Each Animal, containing Edit-Animal component, which will display 'Edit' button next to each animal.
- Add-Animal Component
-
UX/UI * Bootstrap Styling
-
Polish * Look for opportunities to refactor/DRY-up code * Delete any unused templates/components * Flesh-out rest of README
In Terminal, type:
git clone https://github.com/maxobaxo/js-zoo-db
cd js-zoo-db
npm install
bower install
ng serve
In Browser, type:
Visit the app at http://localhost:4200
- Filter Animals by Species and/or Location
- Edit additional attributes of each animal
- Adding a new Animal with empty form fields will create an instance of the Animal class whose attributes' values are empty strings.
Git, HTML, CSS, JavaScript, Angular, Angular-CLI, Node & NPM, Bower, Bootstrap
This web application is free to use under the MIT License.
©
Max Scher 2017