Shopping Basket
This is a simple shopping basket created in JavaScript that allows you to add and remove items from the basket, total the basket, apply a discount, a discount card and allow you to include buy-one-get-one-free offers.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisities
NPM is required in order to install Visit the NPM website for more information.
Installing
Once published on NPM you will be able to install by doing to following steps:
Create your project, if you haven't already
npm init
And install the package
npm install --save harryaswan_shopping
Build in testing
To run the test for this package run
npm test
Built With
- Atom - Atom
- My brain :)
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- HarryASwan - ?? - HarryASwan
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Hat tip to anyone who's code was used
- Inspiration
- etc