Skip to content
Counter micro app
TypeScript CSS JavaScript Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
components
hocs
lib
modules/counter
pages
static
styles
.babelrc
.env.sample
.eslintrc.js
.gitignore
.nowignore
.nvmrc
.prettierignore
.prettierrc.js
Makefile
README.md
jest.config.js
jest.setup.js
next-env.d.ts
next.config.js
now.json
package-lock.json
package.json
tsconfig.json

README.md

Counter

This is the Counter app, built with Next.js and deployed with Now.

The app will allow you to type any number and try to give you a perspective of how big it is, by estimating how long it would take a human to count to it.

Calculations are loosely based on the math at http://www.blog.republicofmath.com/how-long-does-it-take-to-count-to-one-trillion/.

https://thoughts.brunobernardino.com/putting-numbers-in-perspective/ explains more about it.

Development

make install # installs dependencies
make start # starts the app
make pretty # prettifies the code
make test # runs linting and tests
make deploy # deploys to beta.counter.brn.sh (requires `now` to be installed globally)
make deploy/prod # promotes beta to prod at counter.brn.sh (requires `now` to be installed globally)

Some tech acknowledgments:

TODOs:

You can’t perform that action at this time.