/quoteHome

This repository contains well maintained and organized files that have been used in developing a web application that displays motivational quotes to users. Users can also publish their quotes to be viewed by other users.

Primary LanguageHTML

QuoteHome

This project was generated with Angular CLI version 13.3.1.

By Charles Muvaka

It is a Quotes display web application - QuoteHome.

Table of Content

Description

QuoteHome is a web application that motivates individuals but providing them with motivational quotes that can easen their stress. It also allows individuals to publish their quotes so that they can be read by others.

Installation

Requirements

  • Either a computer,phone,tablet or an Ipad
  • An access to the Internet

Technology Used

  • HTML - which was used to build the structure of the pages.
  • CSS - which was used to style the pages.
  • JavaScript - Used in manipulating the html content.
  • TypeScript - Used in manipulating the html content.

SetUp instructions and installation

  • Clone this repository to a location in your file system.
  • Open terminal command line then navigate to the root folder of the application.
  • Open index.html on your Browser.
  $ git clone  https://github.com/CharlesMuvaka12345/quoteHome.git
  $ cd ../path/to/the/file
  $ code .

Behaviour Driven Development

  • There is a form to collect user quotes

    • Input - Enter your name.
    • Input - Enter the title of your quote.
    • Input - Enter author of your quote.
    • Input - Enter description of your quote
    • Input - Select the day your quote was creatded.
    • output - A card containing the quote and author details added to the quotes.
  • Displays an error if the form is touched but not filled

    • output - User Name is required
    • output - Quote title is required
    • output - Quote Author is required
    • output - Quote description is required

Go Back to the top

DevelopMent

Need to contribute?? Follow the following steps.

  • Fork the repo
  • Create a new branch
 $ git switch -c (improve-feature)
  • Make the required changes in the file.
  • Add changes to reflect the changes made.
  • Commit your changes.
$ git commit -am (improve-feature)
  • Push to the branch
$ git push origin (improve-feature)
  • Create a Pull Request

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

Known Bugs

If you find any bug, open an issue here by including your search query and the expected result.

Any suggestions or corrections to the code would highly be appreciated

Reference

License

MIT License

Copyright (c) 2022 Charles Muvaka

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. Go Back to the top

Authors Info

Linked - charles-muvaka