GithubHelp home page GithubHelp logo

gaurikhandke / team-profile-generator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 37.49 MB

Team Profile Generator : Take employees information using inquirer and generate team webpage.

License: MIT License

JavaScript 69.75% HTML 30.25%
inquirer node-js jest html

team-profile-generator's Introduction

Team-Profile-Generator

MIT License

Description

Team profile generator is a node command line application that takes in information about employees using the Inquirer package and generates an HTML webpage that displays summaries for each person.

Motivation

One of the most important aspects of programming is writing code that is readable, reliable, and maintainable. Oftentimes, how we design our code is just as important as the code itself.

Table of Contents

Demo

Team Profile Generator

Screenshots

Terminal Generated Team Page
Terminal HTML Team Page

User Story

As a manager
I want to generate a webpage that displays my team's basic info
so that I have quick access to emails and GitHub profiles

Technology

1. Node.js :

Node.js is an open-source and cross-platform JavaScript runtime environment. A Node.js app is run in a single process, without creating a new thread for every request. Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking.

2. Inquirer NPM package :

Inquirer.js strives to be an easily embeddable and beautiful command line interface for Node.js.

3. Jest NPM Package :

  • Delightful JavaScript Testing
  • Complete and ready to set-up JavaScript testing solution.
  • Failed tests run first. Fast interactive mode can switch between running all tests or only test files related to changed files.

Installation

  • Clone this repository to use this application.
  • Navigate to the 'Develop' folder. To install necessary dependencies, run the following command :
npm i
  • Run this command to check all tests pass:
npm run test
  • The application will be invoked with the following command:
node app.js

Usage

  • Run commands listed in Installation.
  • Running node app.js command will prompt user or manager series of questions to build team.
  • Once user finished building team, a HTML page 'team.html' will be generated in the 'output' folder.
  • Open this HTML file in the browser to see your team page.

Features :

  1. Used Node.js to build application which generates 'team.html' file dynamically by user's input.
  2. Npm package 'Inquirer' is used.
  3. 'Jest NPM Package' is used to follow test driven development and ensured that all tests pass.
  4. Validated user input for email, ID's and office number.

License

This project is licensed under MIT license.

Contribution

Pull requests are always welcome!

Questions

  • If you have any questions about the repo, open an issue or contact me directly at Email.

team-profile-generator's People

Contributors

gaurikhandke 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.