Skip to content

As a user can: Create a new quote. Upvote or downvote a quote. Delete a quote See the number of upvotes and number of downvotes for each quote.

Notifications You must be signed in to change notification settings

fattym/Angular-Ip-wk-1

Repository files navigation

Quote

(View project)

Date of current version: 30/03/2020

By:

  1. Joseph Nganga ; lead developer
  2. Moringa TM's ; Mentors
  3. Moringa Students ; Assistant designers

Description

The week's independent project will be evaluated for the following objectives:

  • Use Angular CLI to create your Project.

  • Create a model for your Quote objects.

  • Create a custom directive that highlights the quote that has the highest vote.

  • Implement a form component that has input sections for the quote.

  • Initialize an initial value of 0 for both upvote and downvote for each quote.

  • Add a custom pipe which displays the time passed since the quote was created.

Setup/Installation Requirements

  • Fork the repo
  • Create a new branch (git checkout -b improve-feature)
  • Make the appropriate changes in the files
  • Add changes to reflect the changes made
  • Commit your changes (git commit -am 'Improve feature')
  • Push to the branch (git push origin improve-feature)
  • Create a Pull Request

Known Bugs

If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue here by including your search query and the expected result.

If you'd like to request a new function, feel free to do so by opening an issue here. Please include sample queries and their corresponding results.

Behaviour Driven Development (BDD)

Behaviour Input Output
Enter your quote Falling makes you get up
Enter quote Author scarscoobydoo
Enter your message or comment this is inspired me in my darkest hour
Press Submit Directive that highlights the quote that has the highest vote/ delete button added

output:

  • Create a new quote.
  • Upvote or downvote a quote.
  • Delete a quote
  • See the number of upvotes and number of downvotes for each quote.

Technologies Used

HTML W3schools

CSS trickes

Bootstrap

Angular

Support and contact details

call me on

:0798734442

:0778378174

:nungari100@gmail.com

License

MIT License

Copyright (c) [2020] [Joseph Nganga]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

As a user can: Create a new quote. Upvote or downvote a quote. Delete a quote See the number of upvotes and number of downvotes for each quote.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published