A command-line application that dynamically generates a professional README.md file from a user's input using the Inquirer package.
Below is the link to the walk-through video demonstrating the application's functionalities:
Watch or download the demonstration video here.
(Note: While testing the video and Screencastify app, the author has found that the video is clearer when downloaded and viewed locally, than when played directly on Screencastify.)
-
Before installing any npm dependencies, a
.gitignore
file was created. The file includesnode_modules/
and.DS_Store/
so that thenode_modules
directory isn't tracked or uploaded to GitHub. -
The repository for this project includes a
package.json
with the required dependencies. This was created by runningnpm init
when the author first set up the project, before installing any dependencies.
Clone my repository on GitHub:
https://github.com/jbtiglao/readme-generator
Please see the walk-through video above, as well as the following instructions and screenshots.
- The application is initialized by opening the integrated terminal on Visual Studio Code and entering
node index.js
- Prompts about the project title, description, installation guidelines, usage instructions, usage information, and tests appear on the terminal. The information the user enters as a response to these prompts are added to the corresponding sections on the README. They are the following:
- Project Title.
- Description, Installation, Usage, Contributing, and Tests.
- License, which when selected from the list, returns a license badge placed on top of the README file, near the project title. The badge links to a webpage containing information about the license and takes the user to the said webpage when clicked. Aside from the license badge on top, a notice about the license used by the application is also included on the License section.
- Questions section, which includes instructions on how to reach the author for additional questions or reporting issues, as well as the author's email, GitHub name, and a link to his/her GitHub profile.
-
A Table of Contents containing sections of the README file. When a section is clicked, the user is taken to the particular section containing the information about the application.
-
Here is a side-by-side comparison of the raw generated README file and as previewed on VS Code:
License used for this project - MIT
For more information on the above license and other license types, please see the following websites:
To contribute to this application:
- Submit a pull request.
- Your new features will be merged after review and approval.
The functionalities of this project were tested manually, by opening the application on the integrated terminal and entering
node index.js
then responding to the series of prompts until a README file is generated.
Below is a sample of a README file from such test:
The following people/resources were consulted and/or utilized in the development of this application:
- Unit 9, Node.js reading materials and internet resources, UCI Bootcamp.
- Inquirer package.
- Professional README Guide
- Open Source Initiative
- Choose a License
- Apache
Jane Tiglao
For questions or issues, please contact:
- Jane Tiglao
- Email: janeytiglao@gmail.com
- GitHub Username: jbtiglao
- GitHub Profile: https://github.com/jbtiglao