This app allows the user to quickly and easily create a Team Profile by using a command-line application to generate a webpage that displays their team's basic info. The html page displays the team's information in a card format for quick access to the team's email and github repos.
Once you clone this repository, you will need to open the terminal in the folder that contains your index.js file. First run 'npm install' to install node modules. Then run 'node index' to see the app in action.
npm install
node indexOnce your node modules are installed, simply type 'node index' into the terminal and proceed through the questions. The generated html file will be in the Results FOLDER along with the css and image files.
Unit testing was performed with jest. See link under project links.
Project Links:
View this app in motion:
Screenshots of app:
This project is created with the following technologies:
The code for this project was researched extensively. Here are a few of the tutorials I found helpful:
-
expect({value: 'value'}).toBeTruthy(); expect(typeof {value: 'value'}).toBe('object'); })
-
it("test", () => { const somethingThatReturnsAFunction = () => () => {}; const theResult = somethingThatReturnsAFunction(); expect(typeof theResult).toBe("function"); });
-
Say we want two arrays now: one for rebel pilots, the other one for imperials. With .filter() it couldn’t be easier!
-
Additional examples on Template Literals and expression interpolation
The syntax for expression interpolation is ${}. Anything we place between the curly brackets will be executed as code. In here we can pass variables, functions, or other logic that will be evaluated and it’s final value displayed.
Please feel free to fork this project and create your own branch. Any suggestions for improvement are welcomed.
This project is licensed under the MIT License
Contact me if you have any questions about this project:
You can find my projects on Github: