DEV Community

Cover image for 300 cigarettes 28 L coffee 1 boilerplate
Meme Oriented Programmer
Meme Oriented Programmer

Posted on

300 cigarettes 28 L coffee 1 boilerplate

Yes, you heard right!

A simple open-source project that I started 2 weeks ago to simplify starting a new project cost me 20 * 14 = 280 cigarettes and 2 * 14 = 28 litres of coffee.

Linter setup, TypeScript config, Next vs Svelte, Supabase or Planetscale, mom or dad?

It might be a familiar pain for most developers where you don't know anything about what you are going to build but start building it. Many unanswered questions from the technical side:

  • Which platforms are you going to support: a web app, mobile app, desktop?
  • What frameworks or libraries to include?
  • How to structure the code?
  • What database to use?
  • How to handle user authentication and authorization?

You might think some questions are less significant than others, while you might be true for your workflow, I have learned several lessons over the time I tried to validate many applications:

  • Keep things simple...
  • Use the most popular frameworks/libraries and try to keep things simple.
  • Do not add auth/database/service/logic in your boilerplates; keep things simple.
  • Use automations for most things (git hooks, GitHub actions, dependency management), do not manually handle stuff where you can automate but only necessary parts; keep things simple.
  • In the end, you are still going to modify some/many things so do not look for perfection; keep things simple.

Revolutionizing Solution... another boilerplate

As a non-ex FAANG engineer and person who has no credibility on social platforms, I came up with a genius solution...

An open-source project...

I am fully aware that when you create an open-source project, developers around the world who lost their jobs due to AI and are struggling to pay their rents can help me and my efforts. Imagine how many of them are out there.

So I created ❤️ onelove, a boilerplate that unifies development for different tech stacks.

I have chosen the best frameworks to bring the best experience for fellow developers:

  • Next.js for frontend, where 15-year-old wonderkids and marketing experts prove PHP is the next big thing.
  • React Native/Expo for mobile, which has an amazing team that leaves issues unanswered/stale/closed after years.
  • Plasmo for browser extension, which has the best-in-class live reloading when you change your code see the changes of 3-4 steps before you have changed your code.
  • Electron for desktop, no comment.
  • Nest.js for API, that makes you comfortable like you are working in a bank.
  • Crawlee for scraper/crawler, prepare your wallet.

And other notable stuff: Turbo, Shadcn, TypeScript, ESLint, Prettier, Lefthook, GitHub Actions, and some more.

I'm begging you to leave feedback

It's crucial to give feedback for me to understand if someone read this article, so please give only positive feedback; negative feedbacks are going to be traced back, and I will share our Epstein Island history with you on your LinkedIn.

And please follow me on https://twitter.com/suchcodemuchwow, I only have 6 girls following me offering to send their feet pics I need diversity.

As the most handsome man ever created once said:

"Talk is cheap. Show me the code."

https://www.github.com/suchcodemuchwow/onelove

Top comments (2)

Collapse
 
nigel447 profile image
nigel447

yes very good but you forgot agile

Collapse
 
rejoanahmed profile image
rejoanahmed

your blog made me laugh out loud with the humour you added every negative 2 lines. Definitely going to explore the repo sometime. In the meantime, one star to your humour skill. 🤣