This project is a team profile generator using Nodejs, OOP and TDD (Jest). The user is prompted with questions in the terminal. The answers will be used to fill the HTML page that will then be generated by the app.
Project is created using:
- HTML
- CSS
- JavaScript
- Nodejs
- Inquirerjs
- OOP
- TDD (jest tests)
small.video.team.profile.gen.mov
Final app should look something like this:
Here are some guidelines for installing the project on your local machine in order to be able to try it:
-
Since Node.js applications don't have a front end, clone or download the repository to your own local machine and run it from your command line.
-
Then, make sure that your repo includes a package.json with the required dependencies. You can create one by running
npm init
in your command line. -
Run
npm i
ornpm install
in order to download all the dependencies. Make sure to also download Inquirer.js by enteringnpm install inquirer
in your terminal in the root directory of the project. Learn more about this package on npm documentation. -
Run
node index.js
ornode index
in your terminal to launch the application, the first question will appear in your terminal. -
To make sure the Jest tests work, run
npm run test
and inspect what the CLI returns. -
Enjoy and don't hesitate to contribute! 🙂