Coder Social home page Coder Social logo

lendilai / quotes-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 1.0 8.08 MB

An app whereby the user can view quotes and add his/her own quotes.

Home Page: https://lendilai.github.io/Quotes-app/

License: MIT License

JavaScript 8.31% TypeScript 63.13% HTML 21.96% CSS 6.60%

quotes-app's Introduction

Quotes-App

This project was generated with Angular CLI version 6.1.1.

By Nathan Ng'ethe

Description

This is an app that allows the user to view various quotes and also add his/her own quotes. The app also gives the user the ability to upvote a quote or downvote it and delete a quote on their side of the server. The details of each quote are the Author's name, the quote itself, and the day it was quoted.

Setup Instructions

Step 1 - Download zip

Download the zip folder or clone the repo.

Step 2 - Download the dependencies

To do this run the following: $ npm install -g @angular/cli

Step 3 - Running the app

First run: $ ng serve Then navigate to http://localhost:4200/ on your browser.

Live link

If you don't want to run the app from your local browser you can acces it through the live link: https://lendilai.github.io/Quotes-app/

Working mechanism

  • Go to the 'quotes' page.
  • Enter all the required details and click on the add button.
  • Your quote is displayed and you can view the quote by clicking the 'show' button.
  • You can upvote or downvote a quote by clicking the respective buttons.
  • Finally, you can delete a quote from your side of the server.

Technologies used

  • HTML & CSS - HTML used to create the backbone of the application whereas CSS was used to style the elements.
  • Javascript - This was used to improve user interactivity and to build on the business logic of the project.
  • Typescript - This is a superset of javascript and provided neccessary functions for the building of the application.

Behaviour Driven Development(BDD)

Behaviour Input example Output example
Adding a quote Fill in fields and click add button The quote is appended to the list of quotes
Show quote's details Click 'show' button The details of the quote appear
Upvote/ downvote a quote Click upvote button/icon The number of votes increases by one
Delete a quote Click delete button The specific quote gets deleted

Demo

Known bugs

There was a bug in the forms but is has been fixed. For now there are no known bugs.

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.

LICENSE

The application is under an MIT License.

Contact Information

You can contact me via my gmail account:[email protected] or using my phone number: +254 706446072

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

quotes-app's People

Contributors

lendilai avatar

Stargazers

Daniel Nakolah avatar

Forkers

charlessciedel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.