This project was generated with Angular CLI version 7.3.9.
This is a quotes application that is supposed to allow a user to input quotes, upvote, downvote or delete them.
Omonge Calvince™ (02/06/2019)
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 which is then displayed on the quote display component. They click the upvote button to upvote, downvote button to downvote.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.
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.
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
.
This is the live . Live site
Behavior | Input | Output |
---|---|---|
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 |
Show time | Click the button | Show track since whe quote is submitted |
Show highest upvote | Adds vote on button click | Quote with the highest upvote is highlighted |
Delete | Click delete icon | Quote is deleted |
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
contact me @ calmosh1421@gmail.com
The project is under MIT license Copyright © 2019.All rigths reserved