DEV Community

Cover image for This could have all been avoided with just a single line. Back to basics fellas.
Ajuwon Femi
Ajuwon Femi

Posted on

This could have all been avoided with just a single line. Back to basics fellas.

April Fools Challenge Submission ☕️🤡

This is a submission for the DEV April Fools Challenge

What I Built

A CLI program that does one thing. Run it.

A program that asks you to agree to Terms & Conditions, makes you type a legal declaration, fires HTTP requests to verify each character of something, and runs your input through two different validation libraries before it does that one thing.

16 packages. 300+ dependencies. One output.

Run it and find out.

Demo

npm install
node index.js
Enter fullscreen mode Exit fullscreen mode

Good luck.

Code

How to run it

npm install

node index.js






How I Built It

Node.js CLI using Express, Redux, Handlebars, Zod, Joi, Axios, Winston, UUID, Inquirer, Ora, Chalk, cli-progress, Lodash, Boxen, and date-fns.

Every single one of them "needed."

There's also a full documentation site in docs/index.html. The FAQ answer to "What does this program do?" is just: Run it.

Don't hold me responsible for this disaster. My idea, Claude implemented it.

Prize Category

Community Favorite — we've all worked in a codebase that does something simple in the most unnecessarily complicated way. This is that, except it's on purpose.

Top comments (0)