by kirso on 6/8/24, 4:22 AM with 97 comments
However, for people who are starting out, without the goal or aim becoming a software engineer and aside of the golden trio (html, css, javascript). What would you learn today to build web apps (both static content and interactive experiences)?
by simonw on 6/8/24, 4:11 PM
Using libraries that have been around for a few years and have accumulated a lot of training data is a huge productivity boost here, because LLM tools can both write code that uses them and usefully explain and debug them when they go wrong.
It's weird and a little uncomfortable to have this as part of my selection criteria, but if I want to maximize the rate at which I can build things it's honestly a useful rule of thumb.
by yodon on 6/8/24, 4:41 PM
In the time it takes a big team to schedule a pre-meeting for discussing changing a schema, solo-devs can whip through many huge cross-cutting refactors across their entire architecture without anyone complaining about broken merges.
Building a real, successful thing generally involves more time and more learning about the customer space than you expect at the outset. As a single dev, you have a massive advantage over big teams in your ability to make huge fast change in the architecture of your product.
Here's the controversial part of this: if you want to maximize your ability to make big changes, you want a strongly-typed codebase (for me that's TypeScript on the front-end and C# on the backend because of the quality of the refactoring tooling for it). There's no formal guarantee that strong typing will keep your code working across big refactorings, but in practice it just works. You focus on getting the inner loops right and the compiler and IDE takes care of the rest.
Yes, you can probably write the first iteration faster in a dynamically typed language, but when you start making those big changes that are your unfair competitive advantage against larger teams, the strong typing combined with modern IDE tooling capabilities means a working system remains a working system even as you treat it like completely malleable clay.
I'm also a fan of modular monoliths, again for ease of major refactoring (if you're not familiar with it, check out for example TurboRepo in the node.js space). You can organize an enormous amount of code well using this technique, including having things partitioned to hand off to other devs or multiple teams if you happen to eventually want to scale up from single dev to multi-dev.
by demian32 on 6/8/24, 9:37 AM
by stavros on 6/8/24, 4:13 PM
by PedroBatista on 6/8/24, 4:04 PM
If you know Python choose a Python stack, if you know Java choose a Java stack.
within the language you know choose the most used one or the most boring one who existed for more than 10 years.
by dixhsgfd on 6/8/24, 4:22 PM
by heluser on 6/9/24, 1:00 AM
Note: I am mostly a back-end / SWE and mostly avoid JS, but I also have to admit that IMO that’s the best match with the authors goals.
by Fire-Dragon-DoL on 6/8/24, 4:02 PM
by perilunar on 6/8/24, 7:28 AM
Maybe Wordpress or Squarespace if you want to do something dynamic.
Anything beyond that and you will need to become a software engineer, or at least learn some programming and server ops.
by SnoopDougDoug on 6/13/24, 11:16 AM
MERN (MongoDB, Express.js, React, Node.js) stack. Here's why:
The MERN stack is a highly popular and versatile full-stack JavaScript solution that allows you to build modern web applications efficiently as a solo developer. It provides several advantages:
1. Full JavaScript Stack: By using JavaScript across the entire stack (frontend with React, backend with Node.js/Express), you can leverage your JavaScript skills without having to learn multiple languages. This reduces the learning curve and increases productivity.
2. React for Frontend: React is a powerful and widely-adopted library for building user interfaces. Its component-based architecture and virtual DOM make it efficient for developing complex and interactive UIs.
3. Node.js/Express for Backend: Node.js, with Express.js as the web framework, allows you to build scalable and high-performance backend services using JavaScript. This eliminates the need for a separate backend language.
4. MongoDB for Database: MongoDB is a popular NoSQL database that integrates seamlessly with the MERN stack. Its flexible schema and scalability make it suitable for various types of applications.
5. Large Community and Ecosystem: The MERN stack has a vast and active community, ensuring abundant resources, libraries, and tools for efficient development. This can significantly boost productivity for a solo developer.
6. Isomorphic/Universal Rendering: With the MERN stack, you can implement isomorphic/universal rendering, which allows you to render the same code on the server and client-side, improving performance and SEO.
by fasteddie31003 on 6/8/24, 4:10 PM
by bckr on 6/8/24, 4:16 PM
Picking a framework advice: https://youtu.be/RTLSSGPoASU?si=UeVO_rHtYK_YS48v
Understanding the different types of frontend frameworks: https://youtu.be/CQuTF-bkOgc?si=EMKfE_sNZNqf6c-x
shadcn-svelte: https://www.shadcn-svelte.com/
by cpach on 6/8/24, 1:49 PM
by Tanzirul on 6/8/24, 3:55 PM
I usually use Laravel, Vue, and InertiaJS for the fullstack. Even though I considered trying a new stack for [1], I decided to stick with what I am familiar with. One reason is because Laravel already integrates well with queues. However, I am not a fan of MySQL and am thinking about switching to a different database.
by deepshaswat on 6/12/24, 6:31 AM
You can keep 6-8 months to learn and build couple of projects using the tech stack
by muzani on 6/8/24, 11:27 AM
Dealing with the DB is extremely easy too - it handles relations within databases, queries, and the UI of Parse Dashboard is simple like your regular online spreadsheets. It's very easy to normalize DBs and all that.
Old article I wrote on how to set it up in half an hour: https://smuzani.medium.com/setting-up-a-mobile-backend-serve...
For front end, JS + jQuery + Bootstrap works fine for basic interactive experiences.
You probably don't need React level stuff unless you're building a social media site or similar. One of the advantages of React is that it's easy to communicate what's happening to team members without documentation, but this is unneeded if you're solo.
There's disadvantages though - you have to optimize things like all your JS files, and handle reloading from cache when you've updated a JS file. There's no "clean" or "modular" code; if you made a bar like the " new | threads | past ..." the top of this page, you use find and replace. But I have sites that run perfectly fine for years on this, without much issue in maintenance.
Another bonus with simple HTML+CSS+jQuery+Bootstrap is that you can also host it on some really cheap servers. Netlify is free at first, but it does not scale well to say, 10k visits/day.
by hiAndrewQuinn on 6/8/24, 4:49 AM
Even Python will take someone starting from zero anywhere between 10-100 hours to fully grok. A phenomenal time investment if you have any professional interest at all in computers, but if you truly don't, a ridiculous one.
by alanfranz on 6/8/24, 6:29 PM
by bags43 on 6/8/24, 4:23 PM
BE: .NET or Spring Boot
Database: SQLite (eventually PostgreSQL in Docker container)
Hosting: Hetzner
by ivylee on 6/9/24, 6:22 PM
[1]: https://ivylee.github.io/
[2]: https://astro.build/
by anuragk11 on 6/10/24, 10:38 AM
Tip: ChatGPT and other LLMs are quite proficient as well in these tech ;)
by android521 on 6/8/24, 4:18 PM
by _waqas_ali_ on 6/9/24, 12:47 PM
by wslh on 6/8/24, 4:14 PM
by cianuro_ on 6/8/24, 10:56 AM
If you are experienced, Rails/Laravel but I'd loop Clojure in too.
by huahaiy on 6/8/24, 4:03 PM
by wszrfcbhujnikm on 6/8/24, 7:44 AM
by greenie_beans on 6/8/24, 3:59 PM
by 0xblinq on 6/9/24, 9:59 AM
by zidad on 6/11/24, 3:03 PM
And because I'm so tired of NPM/JavaScript (UI) frameworks reinventing themselves with new name every 6 months.
by monkey26 on 6/8/24, 4:15 PM
by meiraleal on 6/8/24, 6:58 AM
by bilsbie on 6/10/24, 5:16 PM
by haebom on 6/8/24, 6:42 AM
by forgingahead on 6/8/24, 4:12 PM
by thelastinuit on 6/8/24, 8:30 PM