corona-free-hugs

1.0.80 • Public • Published

Corona free hug

NPM version

If you watched the news recently, you might have noticed that the world has changed.

🍩 forget that we´re in this together, so let the people know you care about them by sending a virtual hug

Check out the live website here

Contribute

Open a PR, when approved and merged, bitrise will automatically update the website

How it works

Static pages

All pages are completely static and hosted on Gcloud storage.

They pages are getting generated on build time with React and some node scripts.

Check out the pages folder to see the source code of all pages.

CSS first, JS maybe later

All pages work with CSS and have some tiny amount of JS for extra interactivity.

Like, how much client JS do you need to create a form?

Creating a hug

A serverless cloud function takes care of hug creation.

The function can be found in worker-triggers.

This will use this repo as a package to run the createHug script.

The script will render another static page and upload it to Gcloud storage.

This way, there'll be no server delay when opening a page; but a little bit when creating a hug

Used resources

Dependents (0)

Package Sidebar

Install

npm i corona-free-hugs

Weekly Downloads

1

Version

1.0.80

License

ISC

Unpacked Size

763 kB

Total Files

511

Last publish

Collaborators

  • dejakob