Skip to content

Coffee shop cash register and big.js demo app built with React

License

Notifications You must be signed in to change notification settings

blefebvre/tims-register

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coffee shop cash register

Why?

This app was built to highlight some limitations of floating-point arithmetic, and illustrate how a library like big.js can help.

This project was bootstrapped with Create React App. It also uses Redux, hooks, and CSS grid layout.

Read more here: brucelefebvre.com/blog/2019/04/28/react-ottawa-dealing-with-monetary-values

Install dependencies

npm install

Run

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Build for prod

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Deploy

npm run deploy

Pushes a production build to the gh-pages branch. You will need push access to the remote named origin in order for this to succeed.

Learn More about Create React App

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

Coffee shop cash register and big.js demo app built with React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published