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.
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.
- Description
- User Story
- Acceptance Criteria
- Table of Contents
- Video Tutorial -License
- Installation
- Contributor
- Additional Resources
NPM install NPM build NPM start
-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
MIT
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.
This Challenge is graded based on the following criteria:
A walkthrough video that demonstrates the functionality of the Vehicle Builder. Your GitHub repository containing your application code.
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.
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 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.
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.
Brandi Rasmussen
Adding to additional classes without duplication
How to use classes in Typescript