Skip to content

javedbartlett/basketApp

Repository files navigation

BasketApp

This is a simple checkout app created using Angular by Javed Bartlett.

The purpose of this project was to create an application that prints out the receipt details for predefined shopping baskets.

Image of Cart Page

Image Checkout Page

Setup

  1. Install dependencies

npm install

  1. Serve app

ng serve

To view the application, navigate to http://localhost:4200/.

Usage

  1. Navigate to cart view by clicking the cart icon at the top right of the page.

  2. Choose a predefined basket

  3. Click checkout

Running unit tests

Run ng test to execute the unit tests via Karma

Tax Calculation Tests

Image of tax calculation spreadsheet

Unit test results

Note - I would've had a lot more test coverage on a live application.

image of unit test results

About

A simple checkout app created in Angular 8.2.14

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published