Skip to content

Blushiva/Module-8

Repository files navigation

Description

Module 8 Adding and Modyfying Classes to Existing Code

An application that allows the user to take the existing application and add to it, the point is to understand and use existing code.

User Story

AS a developer I WANT to update an existing application to include additional vehicle types SO THAT I am able to comprehend and work with existing code bases.

Table of Contents

Installation

NPM install NPM build NPM start

Acceptence Criteria

-GIVEN a command-line application that accepts user input

-WHEN I am prompted to create a new vehicle or existing vehicle

-THEN I can choose between the two options

-WHEN I am prompted to choose the vehicle type during creation

-THEN I can choose between car, truck, and motorbike

-WHEN I am prompted for details about the vehicle

-THEN I can enter the vehicle information

-WHEN I have entered all the vehicle information

-THEN I can use the created vehicle

-WHEN I select an existing vehicle

-THEN I can use the selected existing vehicle

-WHEN I have created a new vehicle or selected an existing vehicle

-THEN I can perform actions with that vehicle

-WHEN I perform an action with a vehicle

-THEN I see the result of the action in the command-line

-WHEN I complete the process of performing an action

-THEN I can perform additional actions until I choose to exit

Video Tutorial

Video Tutorial

License

MIT

Description

I am updating an existing application that will include additional vehicle types. I would like to create either a new vehicle or use an existing vehicle and can select between them and perform additional actions until I choose to exit.

Usage

This Challenge is graded based on the following criteria:

Deliverables: 20%

A walkthrough video that demonstrates the functionality of the Vehicle Builder. Your GitHub repository containing your application code.

Walkthrough Video: 27%

The README.md file must include a link to the walkthrough video.

The walkthrough video must demonstrate how a user would invoke the application from the command line.

The walkthrough video must demonstrate how a user would enter responses to all of the prompts in the application.

The walkthrough video must demonstrate all the prompts and functionality related to trucks and motorbikes working properly.

Technical Acceptance Criteria: 40%

Satisfies all of the preceding acceptance criteria plus the following:

Application uses the Inquirer package Links to an external site..

The application must have properly implemented Truck and Motorbike classes: The user should be able to choose between a car, a truck, or a motorbike when creating a vehicle.

The Truck and Motorbike classes must prompt the user for details that the Car class doesn't.

The Truck class must allow the user to implement an action that the Car and Motorbike classes cannot.

Repository Quality: 13%

Repository has a unique name.

Repository follows best practices for file structure and naming conventions.

Repository follows best practices for class/id naming conventions, indentation, quality comments, etc.

Repository contains multiple descriptive commit messages.

Repository contains a high-quality README with description and a link to a walkthrough video.

How to Submit the Challenge

You are required to submit the following for review:

A walkthrough video that demonstrates the functionality of the application.

The URL of the GitHub repository, with a unique name and a README describing the project.

Contributor

Brandi Rasmussen

Additional Resources

Adding to additional classes without duplication

How to use classes in Typescript

How to extend a Class without a subclass

Typescript extends multiple classes

About

Vehicle Builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published