CF LAB 02

02 Classes, Inheritance, Functional Programming

Author: Ryan Gallaway

Links and Resources

Build Status

Modules

vehicle-class.js

creates establishes classes for Car, Motorcycle, Helicopter, and Airplane

vehicle-constructor.js

contains constructors for Car, Motorcycle, Helicopter, and Airplane

vehicle-factory.js

contains factory functions for Car, Motorcycle, Helicopter, and Airplane

Exported Values and Methods
foo(thing) -> string

Usage Notes or examples

bar(array) -> array

Usage Notes or examples

Setup

.env requirements

  • PORT - port described in .env

Running the app

  • npm start
  • Endpoint: index.js

Tests

  • npm test (runs unit tests)
  • npm run lint (runs linter tests)
  • What assertions were made?
  • What assertions need to be / should be made?