/Quote

This is a quotes application that is supposed to allow a user to input quotes, upvote when they like the quote, downvote when they dont like the quote or delete them. The user can also be able to view quotes that have already been posted on the site.

Primary LanguageTypeScript

Quotes

This project was generated with Angular version 8.1.0.

This is a quotes application that is supposed to allow a user to input quotes, upvote when they like the quote, downvote when they dont like the quote or delete them.

Author

Melisa JUma™ (9/07/2019)

Description

It enables a user to input quotes, upvote, downvote or delete quotes from their dashboard. It has a form component where the user enters the quote, name of author and their name, all which are then displayed on the quote display component. A user clicks the upvote button to like a quote or a downvote button to show dislike.The quote with the highest upvote is displayed as 'Quote of the day'. One can also see how long the quote has been on the site.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app 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. Use the --prod flag for a production build.

BBD

| Behaviour | input example | output example | |Show quote info | Input quote and author | Adds info to the component| |Submit quote| Click submit button |Quote is added to the quote list| | Upvote and Downvote | Clcik upvote and downvote button |Adds or deducts quotes |
| Delete | Click delete icon | Quote is deleted |

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 Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Support and contact details

contact me at Melisaakinyi95@gmail.com

License

The project is under MIT license Copyright © 2019.All rigths reserved