300 cigarettes 28 L coffee 1 boilerplate
Tags: nextjs, reactnative, electron, react
Published: 2024-01-16 10:32:09

---
title: 300 cigarettes 28 L coffee 1 boilerplate
published: true
description: 
tags: nextjs, reactnative, electron, react
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mzv5cqji67g6xaz6imwm.png
---

<img width="100%" style="width:100%" src="https://media.giphy.com/media/7hJZcKzjIufeOmqKSj/giphy.gif">


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**](https://www.github.com/suchcodemuchwow/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

<img width="100%" style="width:100%" src="https://media.giphy.com/media/d3KZOJD5edGUEVwwwG/giphy.gif">

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](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](https://www.github.com/suchcodemuchwow/onelove)