DEV Community

Cover image for An Ecommerce in Vanilla JS. The advent of the WebFramework the only one AI fully understand.
artydev
artydev

Posted on

An Ecommerce in Vanilla JS. The advent of the WebFramework the only one AI fully understand.

I don't know you but I have the impression that I was made a fool of for years.

How on earth I have been conviced to download megabytes of insecure packages to create a simple site ? !!!.

Of course, this a simple demo, but until now, my first action to start such a demo would have been to do : 'npm init -y', and I am pretty sure you too.

Look below what can be accomplished with vanilla web :

Features:

  • Products lists.
  • Filter toolbar
  • Product détail
  • Shopping cart

What you got:

  • Fast (Native APIs)
  • Robust (Persistent storage)
  • Smart (Time-based caching)
  • Secure (No 3rd-party vulnerabilities)

I let you think on what it cost energetically to an AI to create such a minimal app comparatively to apps based on hyped frameworks.

If you are interested, send me a comment and i will publish the link to the source.

Or ask your favorite AI to create one for you.

Top comments (0)