HenryKenya / App-Quotes

This is a website in which a user is able to create their own quotes and publish, and vote on past quotes

Home Page:https://njoki254.github.io/App-Quotes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hamasisha Quotes

Author

Njoki Kamau

Description

The quotes published earlier are displayed in the carousel. Any new quote added is also added into the carousel. The user is encouraged to attach a theme to the quote for organisation purposes. Each quote is linked to its own like and dislike button. Each quote includes an author, a theme and the date it was published. The quote with the highest number of likes is also highlighted as the Quote of the day.

This project was generated with Angular CLI version 9.1.7.

In this quote application, the user is able to upvote or downvote on the quotes already published or she can add her own quote. If a quote is unwanted, one can also delete it.

Below is the link to the deployed site.

Live Site

Hamasisha Quotes

screen shot of application

Technologies Used

  • HTML
  • CSS
  • Bootstrap
  • Markdown
  • TypeScript
  • Angular

BDD

Behavior Input Output
Display Quotes display all added quotes fro array update information to the component
Add new quote click the add Quote event new quote is added to the array
Upvote and Downvote click the like and dislike buttons adds or deducts the number of Likes a quote accumulates
highlight most liked quote click dislike and like buttons Number of likes is displayed
Delete quote click delete button quote is deleted.

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.

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.

You can contact me @ njokifaith61@gmail.com

License

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

About

This is a website in which a user is able to create their own quotes and publish, and vote on past quotes

https://njoki254.github.io/App-Quotes/


Languages

Language:TypeScript 63.2%Language:HTML 22.8%Language:JavaScript 7.4%Language:CSS 6.7%