https://github.com/tkraak/calculator-seed
:seedling: Boilerplate for building a calculator in the browser
https://github.com/tkraak/calculator-seed
calculator javascript learn teach webpack
Last synced: about 2 months ago
JSON representation
:seedling: Boilerplate for building a calculator in the browser
- Host: GitHub
- URL: https://github.com/tkraak/calculator-seed
- Owner: tkraak
- Created: 2018-04-28T18:07:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T20:33:52.000Z (over 3 years ago)
- Last Synced: 2025-04-01T19:09:21.755Z (about 1 year ago)
- Topics: calculator, javascript, learn, teach, webpack
- Language: JavaScript
- Homepage:
- Size: 1.01 MB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Build a Calculator
Learn fundamental JavaScript via a [three-part blog post series](https://zellwk.com/blog/calculator-part-1/) by [@zellwk](https://github.com/zellwk).

## Getting Started
* clone the seed repository:
* `git clone https://github.com/tkraak/calculator-seed.git calculator`
* `cd calculator`
* install project dependencies:
* `npm install` or `yarn install`
* run the calculator app in your favorite browser at `http://localhost:8080`:
* `npm start`
* bundle a production build powered by [webpack](https://webpack.js.org)
* `npm run build`
* run tests with [AVA](https://github.com/avajs/ava)
* `npm test`
## Optional but Recommended
* push your work to your GitHub account:
* create a repository named `calculator` on GitHub
* `git remote set-url origin https://github.com/USERNAME/calculator.git` (ensure that `USERNAME` matches your GitHub username)
* `git push -u origin master`
* keep your project's tooling up-to-date by periodically pulling from the seed repository (`upstream`):
* `git remote add upstream https://github.com/tkraak/calculator-seed.git`
* `git pull upstream master --rebase`