This is a website application generated with generated with Angular CLI version 11.2.5.
This is a quotes website which allows a user to enter a new quote, upvote or downvote an existing quote and to delete the quote.The quote with the highest number of upvotes is highlighted.
- Open Terminal {Ctrl+Alt+T}
- git clone https://github.com/alvynah/quote-quorra.git
- cd quote-quorra
- code .(for Vs Code) or atom .(for Atom)
- Ensure you have installed Angular CLI and all its dependencies.
- Ensure you are working in the right directory all through.
- HTML5
- CSS
- BootStrap
- TypeScript
- Markdown
- ADD QUOTE
Inputs
- Name
- Quote title
- Quote Description
- Quote Author
Behaviour User inputs the above inputs,clicks the add quote button and a new quote is created. If the user does not enter input and clicks button Add Quote,the user is prompted to input missing fields. When the user enters items in a field and then clears the field, an alert message is shown.
Outputs
- New quote displayed by a card
- UPVOTE AND DOWNVOTE
Button Clicks
- Thumbs-up icon
- Thumbs-down icon
Behaviour
User clicks on the thumbs up button to upvote and on the thumbs down button to downvote. The displayed quotes will be arranged from the highest voted quote to the least voted quote.The highest upvoted quote is then highleted and displayed as the most upvoted quote.
Outputs
- Most upvoted quote is highlighted
- Quotes are arranged from highest upvoted to least upvoted.
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
.
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.
For any further inquiries or contributions or comments, reach me at Alvynah
MIT License Copyright (c) {2021}
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.