Skip to content

A Node.js command-line application that takes in user input to generate a logo and save it as an SVG file.

License

Notifications You must be signed in to change notification settings

JonathanFadera/oop_logomaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOP_Logo_Maker

Badge

Object-oriented Programming Challenge: Logo Maker

Description

Build a Node.js command-line application that takes in user input to generate a logo and save it as an SVG file.The application prompts the user to select a color and shape, provide text for the logo, and save the generated SVG to a .svg file.

Table of Contents

Installation

Make sure that you remove dist from the .gitignore file so that Git will track this folder and include it when you push up to your application's repository. The application must include Triangle, Circle, and Square classes, as well as tests for each of these classes using Jest. While not a requirement, it is recommended that you place any common functionality and properties shared by the Triangle, Circle, and Square classes in a parent Shape class and use inheritance to reuse the code in the child classes. Each shape class should be tested for a render() method that returns a string for the corresponding SVG file with the given shape color.

Usage

As a freelance web developer, I want to generate a simple logo for my projects so that I dont have to pay a graphic designer.

Link to the Demo

Mock-up

The following image shows a mock-up of the generated SVG given the following input entered by the user: EYE for the text, red for the text color, triangle from the list of shapes, and black for the shape color. Note that this is just an image of the output SVG and not the SVG file itself:

Image showing a black circle with red text that reads "EYE.".

License

This application is covered by the MIT license.

Tests

Your application should use Jest for running the unit tests and Inquirer for collecting input from the user. The application will be invoked by using the command: node index.js.

Credits

Jonathan Fadera, Week_10-oop, [Emmanuel Jucaban - instructor]

Questions

If there are any questions, feel free to contact my email at: ericsonhnc@gmail.com

You can also find me on GitHub at: JonathanFadera

Deployed Application

This application was deployed at https://github.com/JonathanFadera/oop_logomaker

About

A Node.js command-line application that takes in user input to generate a logo and save it as an SVG file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published