Code Monkey home page Code Monkey logo

team-profile-generator's Introduction

License: MIT

team-profile-generator

Project Description

This application exhibits some pillar concepts associated with object-oriented programming (OOP). Classes are developed as the blueprints for creating objects. Child classes which extend from a parent class are used for the purpose of inheriting the parent class's properties and methods. Instances of objects are created by invoking, or calling, the constructor function of a particular class. Unit testing is also incorporated in this app and is achieved with Jest; tests were written to fail initially, then the minimum code is written so the the tests passes; finally the code is refactored (RED, GREEN, REFACTOR). With respect to the process or functionality of the app, the user is prompted via the command line to enter certain data about a team's manager. The user is subsequently prompted if they would like to add additional members to the team, or finish with inputting. At the culmination of iputting information about their team, several templates for HTML markup are interpolated with the stored user input (i.e. the team's information), returning a dynamic block of HTML which is saved to a file. The HTML will reflect the size of the team.

  • Build an entire application using object-oriented programming (OOP), separating data and functionality into different constructor functions.
  • Use modern ES6 class syntax to implement inheritance between classes.
  • Verify that your code works as intended through automated tests using the Jest framework.
  • Take user input and use template literals to dynamically generate an entire HTML page directly from the command line

Table of Contents

Installation

Once the repository is cloned, from the root directory of where they installed the application the user is to run the command 'npm install' to install required dependencies. After dependencies are loaded, all the user must do to run the application is type 'node index.js' in the command line and answer the prompts as they appear.

Usage

See the video below for how to use the app.
Link to app demo. Snapshot of the HTML markup created after inputting team information.

License

Copyright 2022

=======================================


Click for the legal stuff, if that's your thing Copyright James Compagnoni

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

Legalese borrowed from here.

Contribute

Please contact me at my email or GitHub user for ways to contribute to this project!

Tests

None at this time.

Questions?

I enjoy hearing back about my work. You can reach me at [email protected]. Alternatively, contact me on my GitHub page here.

team-profile-generator's People

Contributors

jcomp-03 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.