Skip to content

JosephNamihas/README-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReadME Generator Project

Description

I was tasked by the client to create a README generator to save time when doing project work. This will enable me to speedily develop a README and put more time into the development lifecycle.

AS A developer
I WANT a README generator
SO THAT I can quickly create a professional README for a new project

The README generator taking in user input from an NPM called Inquirier. It will ask the user for the following:

  • The Project Name
  • The Project Description
  1. Installation
  2. Usage
  3. Contributions
  4. Tests Run
  5. Questions
  6. License Details

After the information has been collected, it is parsed into a data object which is then used to populate the values within the markdown text.

Challenges Faced

Dealing with Markdown rather than HTML

At first I found it quite confusing working with Markdown syntax, rather than HTML. Although Markdown seems easier, it was strange using backticks with Markdown rather than HTML.

Pulling the GitHub Bages

I had trouble thinking of how to pull down the badge license info. Do I populate an array and add some logic to determine whichever is picked, display the correct badge? I eventually found a website called [ShieldsIO] (https://shields.io/category/license) which helped.

Installation

The application can be run by invoking the following command on the index.js file:

node index.js

The README generated by the script is called "SampleREADME.md".

Useage

Inquirer

ReadMe-Generator-Demo.mp4

Credits

https://www.w3schools.com/

https://developer.mozilla.org/en-US/

https://shields.io/category/license

License

MIT

Copyright (c) [2023] [Joseph Namihas]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A README Generator Application using Node.Js and ES6

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published