├── .gitignore ├── styles.css ├── index.html ├── LICENSE ├── .github └── workflows │ └── linters.yml └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | test.md -------------------------------------------------------------------------------- /styles.css: -------------------------------------------------------------------------------- 1 | h1 { 2 | color: darkcyan; 3 | text-align: center; 4 | padding: 20px; 5 | } 6 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Document 8 | 9 | 10 | 11 |

Hello Microverse!

12 | 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | ## Copyright 2021, Carlos Igreda 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files, 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: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the software. 6 | 7 | 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. 8 | -------------------------------------------------------------------------------- /.github/workflows/linters.yml: -------------------------------------------------------------------------------- 1 | name: Linters 2 | 3 | on: pull_request 4 | 5 | env: 6 | FORCE_COLOR: 1 7 | 8 | jobs: 9 | lighthouse: 10 | name: Lighthouse 11 | runs-on: ubuntu-22.04 12 | steps: 13 | - uses: actions/checkout@v2 14 | - uses: actions/setup-node@v1 15 | with: 16 | node-version: "12.x" 17 | - name: Setup Lighthouse 18 | run: npm install -g @lhci/cli@0.7.x 19 | - name: Lighthouse Report 20 | run: lhci autorun --upload.target=temporary-public-storage --collect.staticDistDir=. 21 | webhint: 22 | name: Webhint 23 | runs-on: ubuntu-22.04 24 | steps: 25 | - uses: actions/checkout@v2 26 | - uses: actions/setup-node@v1 27 | with: 28 | node-version: "12.x" 29 | - name: Setup Webhint 30 | run: | 31 | npm install --save-dev hint@7.x 32 | [ -f .hintrc ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css/.hintrc 33 | - name: Webhint Report 34 | run: npx hint . 35 | stylelint: 36 | name: Stylelint 37 | runs-on: ubuntu-22.04 38 | steps: 39 | - uses: actions/checkout@v2 40 | - uses: actions/setup-node@v1 41 | with: 42 | node-version: "12.x" 43 | - name: Setup Stylelint 44 | run: | 45 | npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x 46 | [ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css/.stylelintrc.json 47 | - name: Stylelint Report 48 | run: npx stylelint "**/*.{css,scss}" 49 | nodechecker: 50 | name: node_modules checker 51 | runs-on: ubuntu-22.04 52 | steps: 53 | - uses: actions/checkout@v2 54 | - name: Check node_modules existence 55 | run: | 56 | if [ -d "node_modules/" ]; then echo -e "\e[1;31mThe node_modules/ folder was pushed to the repo. Please remove it from the GitHub repository and try again."; echo -e "\e[1;32mYou can set up a .gitignore file with this folder included on it to prevent this from happening in the future." && exit 1; fi -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | logo 5 |
6 | 7 |
8 | 9 | # 📗 Table of Contents 10 | 11 | - [📖 About the Project](#about-project) 12 | - [🛠 Built With](#built-with) 13 | - [Tech Stack](#tech-stack) 14 | - [Key Features](#key-features) 15 | - [🚀 Live Demo](#live-demo) 16 | - [💻 Getting Started](#getting-started) 17 | - [Prerequisites](#prerequisites) 18 | - [Setup](#setup) 19 | - [👥 Author](#author) 20 | - [🔭 Future Features](#future-features) 21 | - [🤝 Contributing](#contributing) 22 | - [⭐️ Show your support](#support) 23 | - [🙏 Acknowledgements](#acknowledgements) 24 | - [❓ FAQ (OPTIONAL)](#faq) 25 | - [📝 License](#license) 26 | 27 | # 📖 Hello Microverse 28 | 29 | In this project, I will set up a "Hello world" repository. No complex coding is required for this exercise. My goal here is to master all of the tools and best practices I learned about in previous steps. I will be using them in all Microverse projects and most likely in my future job as well, so it is important to know them! 30 | 31 | ## 🛠 Built With 32 | 33 | ### Tech Stack 34 | 35 |
36 | Client 37 | 41 |
42 | 43 |
44 | Server 45 | 48 |
49 | 50 |
51 | Database 52 | 55 |
56 | 57 | ### Key Features 58 | 59 | - **Follow a correct Gitflow** 60 | - **Comply with linters** 61 | - **Show a greeting message** 62 | 63 |

(back to top)

64 | 65 | ## 🚀 Live Demo 66 | 67 | - [Live Demo Link](https://carlosigreda.github.io/HelloMicroverseProject/) 68 | 69 |

(back to top)

70 | 71 | ## 💻 Getting Started 72 | 73 | To get a local copy up and running, follow these steps: 74 | 75 | ### Prerequisites 76 | 77 | In order to run this project you need: 78 | 79 | ✅ Github account
80 | ✅ Visual Studio Code installed
81 | ✅ Node.js installed
82 | ✅ Git Bash installed (optional) 83 | 84 | ### Setup 85 | 86 | Clone this repository to your desired folder: 87 | 88 | ```sh 89 | cd [my-folder] 90 | git clone git@github.com:CarlosIgreda/HelloMicroverseProject.git 91 | ``` 92 | 93 |

(back to top)

94 | 95 | ## 👥 Author 96 | 97 | - GitHub: [@CarlosIgreda](https://github.com/CarlosIgreda) 98 | - Twitter: [@carlosigreda](https://twitter.com/carlosigreda) 99 | - LinkedIn: [@carlosigreda](https://www.linkedin.com/in/carlosigreda) 100 | 101 |

(back to top)

102 | 103 | ## 🔭 Future Features 104 | 105 | - [ ] **Interaction using Javascript** 106 | 107 |

(back to top)

108 | 109 | ## 🤝 Contributing 110 | 111 | Contributions, issues, and feature requests are welcome! 112 | 113 | Feel free to check the [issues page](../../issues/). 114 | 115 |

(back to top)

116 | 117 | ## ⭐️ Show your support 118 | 119 | If you like this project you can follow me on Github. 120 | 121 |

(back to top)

122 | 123 | ## 🙏 Acknowledgments 124 | 125 | I would like to thank all Microverse staff and my learning partners as well. 126 | 127 |

(back to top)

128 | 129 | ## ❓ FAQ 130 | 131 | - **What is a Linter?** 132 | 133 | - Linter is a tool that analyzes source code to flag programming errors, bugs, stylistic errors, and suspicious constructs. 134 | 135 | - **What is meant by Gitflow?** 136 | 137 | - Gitflow is an alternative Git branching model that involves the use of feature branches and multiple primary branches. 138 | 139 |

(back to top)

140 | 141 | ## 📝 License 142 | 143 | This project is [MIT](./LICENSE) licensed. 144 | 145 |

(back to top)

146 | --------------------------------------------------------------------------------