Skip to content

calvince/The-Quote

Repository files navigation

Quotes

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.

Author

Omonge Calvince™ (02/06/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 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.

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.

Project live site

This is the live . Live site

Image

Behavior Driven Development

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

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.

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 @ calmosh1421@gmail.com

License

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

About

Website where one can view quotes and add his/her quote

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published