Express Animals In-Class Activity

TODO:

  • [ x ] Connect MySQL
  • [ x ] Protect sensitive data
  • [ x ] Owners table
  • [ x ] Use mysql2 package in routes (instead of /db/animals.json)
  • [ x ] Display Animal and Owner data on homepage
  • [ x ] Display latest animal count on homepage

Description

An in-class code-along pulling animal data from a database and creating or updating animals.

Installation

To use this application users must npm install dotenv, express, mysql2, and chalk.