Skip to content

A platform for showcasing animals and their respective zookeepers. Users can add new entries to the local API. This repository has been updated from CommonJS to ES6 Imports.

License

Notifications You must be signed in to change notification settings

jwilferd10/Zookeepr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zookeepr

📂 Table of Contents

👋 Description

📃 Manage and Explore Zoo Data

Zookeepr is a platform designed to showcase various animals and their respective zookeepers at the zoo. The data for both zookeepers and animals are stored in a JSON file. Using Express.js, users can access and interact with the API. The front-end code dynamically generates cards based on the API data, providing an interactive and seamless user experience.

➕ Create and Search Zoo Records

Users can search for specific zookeepers and animals based on set parameters. This allows for efficient and targeted searches within the zoo's database. Additionally, users can create and add new zookeepers and animals to the local API. This feature ensures that the platform remains up-to-date with the latest information and allows for continuous expansion of the zoo's records.

🌐 Open

From the start Zookeepr was built to further learning. Because of this, the repository is open and it's my hope that someone views this codebase and finds some use from it.

💭 Developer Notes

Originally constructed in 2020, this project was designed to teach the use of Express.js and middleware for seamless interaction between the front and back ends. Since then, Zookeepr has been updated to provide further learning opportunities and more hands-on practice.

The objective of these updates was to replicate a real-life scenario where Zookeepr, initially built with CommonJS, needed to be modernized using ES6 modules. To align with this modernization, the HTML template has also been updated to use semantic elements.

🙏 Thank You!

So much for checking out Zookeepr. This project may be familiar to some people, but I've made the effort to go further and call this application my own. Thanks again and happy coding!

📖 User Story

AS A public zoo, WE WANT to webpage that displays public info SO THAT our guests have quick access viewing our Animals and Workers.

GIVEN a website that displays our public zoo info

  • WHEN I view the Animals and Zookeepers pages
    • THEN our data should populate the respected page
  • WHEN I start to search for specific Animals
    • THEN I can search for specific traits of the desired animal
  • WHEN I start a search for specific Zookeepers
    • THEN I can search for the zookeeper by name or age

AS A Zookeepr admin, I want to be able to add new entries to our local API SO THAT our zoo's info is up-to-date.

Given a website that accepts new additions

  • WHEN I visit the landing page
    • THEN I can add an animal/zookeeper
  • WHEN I visit the animals/zookeeper pages
    • THEN I can view my newly created animal

💾 Resources Used

  • JavaScript
  • HTML
  • CSS
  • Node.js
    • This command is used to run Jest with ES6 Import support: node --experimental-vm-modules node_modules/jest/bin/jest.js
  • NPM
  • ES6 Modules
  • Express (^4.19.2)
  • Jest (^29.7.0)
    • Configured to prevent transforming ESM code to CommonJS with: "transform": {}

💽 Usage

Submitting an Animal

  • Enter the animal's name and species
  • Select the animal's diet
  • Select the personality traits of the animal (multiple choice)
  • Submit

Submitting a Zookeeper

  • Enter the zookeepers name
  • Input the zookeepers age
  • Include zookeepers favorite animal

Searching for Zookeeper

The website should automatically populate the list with existing zookeepers

  • Query by Zookeeper Name
  • Query by Zookeeper Age
  • Search

Searching for Zookeeper

The website should automatically populate the list with existing animals

  • Query by Animal(s) diet
  • Query by Animal(s) Personality Traits (multiple choice)
  • Search

📎 Contributors

About

A platform for showcasing animals and their respective zookeepers. Users can add new entries to the local API. This repository has been updated from CommonJS to ES6 Imports.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published