Code Monkey home page Code Monkey logo

team-website-generator's Introduction

Team Website Generator

License: MIT

Table of Contents

Description

This application uses Node CLI to take in information from the user regarding his/her workplace team to render an HTML webpage with the information given. The desired information has overlap as well as differentiate based on the job-type. For example, while all job titles will be asked for a name, ID, and email, a manager will be asked for his/her office number, an intern for his/her school, and an engineer for his/her GitHub profile URL.

This information will then be used to create cards and render an HTML page which can be used to centralize this information for the team and/or for any other interested party.

Installation

As a user, after cloning this GitHub repository, the user will need to run the following command on an inegrated terminal:

npm install inquirer

This will install the package "inquirer," which is used to run this CLI.

Technologies Used

Node JS, JavaScript, Inquirer, Jest

Tests

In order to test this program, use the following commands:

npm install jest

npm run test

These commands will run the test.js files within the test directory:

  1. Employee.test.js
  2. Engineer.test.js
  3. Intern.test.js
  4. Manager.test.js

Application Demo

With inquirer installed as laid out above in Installation, the user will open an integrated terminal and use the command node app.js This will queue a series of questions from inquirer to garner information about the team, as seen here:

CLI Input

From this input, an HTML page is saved into the output directory, and a file entitled "team.html" is generated, which may then be viewed in the browser, as seen here:

Team Website

A full video of the CLI and webpage generation can be seen here, using different input values:

Full CLI video here

Contact Information

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.