Skip to content

derekschultz/jurassic-park

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jurassic Park

It's 1993 and you're the lead software developer for the new Jurassic Park! Park operations needs a system to keep track of the different cages around the park and the different dinosaurs in each one. You'll need to develop a JSON formatted RESTful API to allow the builders to create new cages. It will also allow doctors and scientists the ability to edit/retrieve the statuses of dinosaurs and cages.

Business requirements

  • Cages must have a maximum capacity for how many dinosaurs it can hold.
  • Cages know how many dinosaurs are contained.
  • Cages have a power status of ACTIVE or DOWN.
  • Cages cannot be powered off if they contain dinosaurs.
  • Dinosaurs cannot be moved into a cage that is powered down.
  • Each dinosaur must have a name.
  • Each dinosaur must have a species (See enumerated list below, feel free to add others).
  • Each dinosaur is considered an herbivore or a carnivore, depending on its species.
  • Herbivores cannot be in the same cage as carnivores.
  • Carnivores can only be in a cage with other dinosaurs of the same species.
  • Must be able to query a listing of dinosaurs in a specific cage.
  • When querying dinosaurs or cages they should be filterable on their attributes (Cages on their power status and dinosaurs on species).
  • All requests should be respond with the correct HTTP status codes and a response, if necessary, representing either the success or error conditions.
  • Use Carnivore dinosaurs like Tyrannosaurus, Velociraptor, Spinosaurus and Megalosaurus.
  • Use Herbivores like Brachiosaurus, Stegosaurus, Ankylosaurus and Triceratops.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages