LAB
Project Name: Classes-Inheritance
Author: Author Name
Links and Resources
Documentation
Modules
vehicle-constructor
Vehicle Methods
Vehicle.drive()
Vehicle.stop()
Vehicle.Car
Vehicle.Motorcycle
Vehicle.Motorcycle.wheelie()
list
List Methods
List.push
List.pop()
List.shift()
List.unshift(item)
List.unshift(item)
List.forEach(item)
List.map(item)
List.filter(item)
List.reduce(item)
Setup
.env
requirements
npm i
PORT
- assign a port number
Running the app
npm start
- Endpoint:
/
Tests
- How do you run tests?
npm run test
npm run lint
- Assertions made:
- Array methods work correctly and handle appropriate input
- vehicle-class, vehicle-constructor, and vehicle-factory
- Car has 4 wheels, can drive, can stop, cannot do a wheelie
- Motorcycle has 2 wheels, can drive, can stop, cannot do a wheelie