/node-db4-guided

[Lambda School] Guided Project Starter Code for Node DB 4 Module

Primary LanguageJavaScriptOtherNOASSERTION

Data Modeling

Guided project for Node DB 4 Module.

Prerequisites

Project Setup

  • import and clone this repository.
  • CD into the folder where you cloned your version.
  • type npm install to download dependencies.
  • type npm run server to start the API.

Please follow along as the instructor uses Knex migrations and seeding to create a multi-table database schema.

Client Requirements

A client has hired you to build an API for managing zoos and the animals kept at each zoo. The API will be used for zoos in the United States of America, no need to worry about addresses in other countries.

For zoos, the client wants to record:

  • name.
  • address.

For animals, the client wants to record:

  • name.
  • species.
  • list of all the zoos where they have resided.

Determine the database tables necessary to track this information. Label any relationships between tables.