Sarah-Marion / Quotes

An application where users can create quotes and vote on whether they are terrible or inspirational.

Home Page:https://sarah-marion.github.io/Quotes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quotes

Author

By Sarah Marion

Description

Here's an application where users can create quotes and have those quotes voted on whether they are terrible or are inspirational. (https://sarah-marion.github.io/Quotes/)

This project was generated with Angular CLI version 1.7.4.

Requirements (for Users)

  • A user can create a new quote
  • A user can either Upvote or DownVote a quote
  • A user can delete a quote
  • A user can see the number of upvotes and downvotes for each quote

Technical Requirements

  • contains a custom model class for the quote
  • contains a custom directive to highlight the quote with the highest upvote
  • contains a form component that can input sections for the quote, author, person submitting quote
  • quotes begin with an initial upvote & downvote value of 0
  • has a display component for the quote and details of it
  • contains a custom pipe that shows how much time has elapsed since the creation of a quote

Technologies Used

  • Angular cli
  • Node - for Dependancy Management
  • Bootstrap
  • Custom Css

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.

Deployment Server

One needs to run ng build --prod --base-href="https://GithubUserName.github.io/GithubREPO/"

Known Bugs

It does not have bugs.But if any problems should occur, email me at devsarahmarion@gmail.com

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

You can reach out to me at devsarahmarion@gmail.com for Reviews, Advice, Collaborations and Comments

Licence

MIT License

Copyright (c) 2018 Dev Sarah Marion

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

An application where users can create quotes and vote on whether they are terrible or inspirational.

https://sarah-marion.github.io/Quotes/


Languages

Language:TypeScript 67.8%Language:HTML 19.8%Language:JavaScript 7.2%Language:CSS 5.2%