News for hackers. Stuff that matters.
Re:Code to Write to Start a SaaS by quezzle on Saturday May 02, 2020 @04:28PM (#23054657)
Edit: Dan has edited his blog post to address this comment ... good luck dan with Nodewood! See comments below. We should support a fellow founder and HN community member who is here and listening and working.

Original comment:

It’s not clear until the end of the long post that this guy is selling and all in one development package.

No problem with that but it feels disingenuous to make building a SAAS super hard THEN say “he he I have the solution for you!”.

He’d have been better to say up front his product solves the development complexity problem which looks like this....

Then at the end you’d say “gee this guy is right”, instead of “oh I’ve been played”.

Re:Code to Write to Start a SaaS by DanHulton on Saturday May 02, 2020 @04:50PM (#23054798)
Fair point! One sec.
Re:Code to Write to Start a SaaS by quezzle on Saturday May 02, 2020 @04:52PM (#23054814)
I love it that the web makes live edits possible.

If your making adjustments then I applaud you.

Re:Code to Write to Start a SaaS by DanHulton on Saturday May 02, 2020 @05:07PM (#23054913)
Just did. Thanks for the advice! I spent so much time putting together the list of code that when it came time to plug Nodewood, I didn't have much mental oomph left, so I just put it at the end. Your suggestion is much better.
Re:Code to Write to Start a SaaS by yellow_lead on Saturday May 02, 2020 @04:37PM (#23054717)
This article vastly overestimates what you need to start a SaaS, which is in the author's best interest.

Most of these don't fit into SaaS MVP at all...

Re:Code to Write to Start a SaaS by pnako on Saturday May 02, 2020 @09:51PM (#23056269)
This is absurd. I've worked on very successful SaaS (B2B, not B2C) that dominate their industry, it was started by a bunch of students writing shit in PHP, then got rewritten in Java at some point. That's it. Along the lines it picked more tools and techniques of course, but you don't have to do all that in the first three months.
Re:Code to Write to Start a SaaS by ggregoire on Saturday May 02, 2020 @05:12PM (#23054955)
If I had to build a CRUD-like SaaS tomorrow I'd probably choose

* postgreSQL

* postgREST

* React/TypeScript (with create-react-app)

Hosted on AWS for roughly $50/month (or for free with the Free Tier).

Re:Code to Write to Start a SaaS by ge96 on Saturday May 02, 2020 @04:47PM (#23054780)
My concern with SaaS's are the legal problems, need some blanket ToS I can use, do I need an LLC? Etc... Like this rendering bug caused a seizure give me money, sort of thing. Outlandish but yeah
Re:Code to Write to Start a SaaS by redis_mlc on Sunday May 03, 2020 @12:01AM (#23056777)
> My concern with SaaS's are the legal problems, need some blanket ToS I can use, do I need an LLC? Etc... Like this rendering bug caused a seizure give me money, sort of thing. Outlandish but yeah

In the US, anybody can sue you for anything. And if they do, you will have to defend yourself in court.

No, you don't need a LLC, and it doesn't shield you from a lawsuit unless you manage the LLC like a real corporation.

I see this type of comment on HN quite frequently. If you're that worried about lawsuits, maybe starting a company isn't right for you.

Re:Code to Write to Start a SaaS by ge96 on Sunday May 03, 2020 @12:13AM (#23056813)
Yeah do it or don't easy to talk, I'll probably just find some off-the-shelf ToS/Privacy Policies to go with initially and if it happens to be profitable worry about lawyers later when there is actually money to use.

edit: me focusing on the negatives

Re:Code to Write to Start a SaaS by randomsearch on Saturday May 02, 2020 @08:02PM (#23055862)
For anyone actually serious about prototyping a SaaS, getting MVP out the door, try firebase. It solves a lot of the problems in the article for you. It’s flawed and annoying but I believe indie hackers still runs on it.

It’s relatively expensive, but if you consider productivity gains it’s basically free for a long time.

Re:Code to Write to Start a SaaS by yhoiseth on Saturday May 02, 2020 @05:25PM (#23055047)
Looks great — good luck!

For Rails, there’s https://bullettrain.co/. For Django, there’s https://www.saaspegasus.com/. (I haven’t tried any of them.)

Re:Code to Write to Start a SaaS by MattGaiser on Saturday May 02, 2020 @05:28PM (#23055074)
This is why I love Django. Most of this stuff comes included.
Re:Code to Write to Start a SaaS by theonething on Saturday May 02, 2020 @07:08PM (#23055598)
> Some are going to be unavoidable, such as JavaScript if you have a web app with any serious browser interactions

With the rise of things like Phoenix LiveView, Blazor for c#, Turbolinks and Stimulus Reflex for Rails, JS frameworks like React aren't unavoidable anymore.

And I couldn't be happier about that.

Re:Code to Write to Start a SaaS by quezzle on Saturday May 02, 2020 @04:46PM (#23054774)
I wonder what is the shortest path to deploying a web application that is fully codable (as opposed to no-code), that includes user database/management/auth.

I suspect the closest is the old school libraries like Ruby on Rails and the equivalent in other languages.

Re:Code to Write to Start a SaaS by MattGaiser on Saturday May 02, 2020 @05:33PM (#23055108)
Django has all three built in.
Re:Code to Write to Start a SaaS by fimdomeio on Saturday May 02, 2020 @04:42PM (#23054746)
One should be aware of all the things you'll need to build but balance that with the amount of money available. It's probably still possible to create a sass with just plain php and ftp uploads and that might enable you to get a product out of the door fast enough so that money doesn't run out. If you have the time and the money, sure, do the best solution.

Special if you're working on a very small scale but plan to hire sometime in the future, remember every little piece of tech adds to the probability the person you'll hire is not familiar with it, so more training will be involved.

Re:Code to Write to Start a SaaS by victor9000 on Saturday May 02, 2020 @05:02PM (#23054879)
If you're evaluating tools for building a SaaS app, you may also consider using Laravel Spark. I recently used it to build an MVP for a client and was able to wrap up the project in less than a month. The tool chain is pretty robust, and the framework and ecosystem are both fairly mature.
Re:Code to Write to Start a SaaS by DanHulton on Saturday May 02, 2020 @05:06PM (#23054901)
Spark is absolutely one of my inspirations (and competitors). I figure there's enough room in this market for a few solutions to this problem, and there will likely be people who don't want to use PHP (for a variety of reasons) that there'll be space for both of us.
Re:Code to Write to Start a SaaS by victor9000 on Saturday May 02, 2020 @05:45PM (#23055180)
For sure, if anything you may want to address some of Spark's weaknesses and use them as a way to differentiate your product.
Re:Code to Write to Start a SaaS by cutler on Saturday May 02, 2020 @07:12PM (#23055615)
I'm exhausted before I've even got started. And to think all Zuck needed for world domiation was a P4 with 256Mb RAM and procedural PHP. There's a lesson somewhere.
Re:Code to Write to Start a SaaS by redis_mlc on Sunday May 03, 2020 @12:05AM (#23056793)
He wrote the initial version of the Face Book at university, but after he moved to SV had about 4 developers working in a house with him.

My understanding was that he was very focused on reliability since some of the other social media networks were so flaky at the time, like Friendster.

Re:Code to Write to Start a SaaS by cutler on Wednesday May 06, 2020 @08:14PM (#23098102)
The P4 with 256Mb RAM I was referring to is the likely spec of the server Zuck was renting for $85/month when Facebook launched. Amazing, considering the spec we have available today for only a few $ per month.
Re:Code to Write to Start a SaaS by m3h on Sunday May 03, 2020 @01:32AM (#23057066)
It would be awesome if the author could include some screenshots of what the product looks like in action.

On side notes, is there any plan to support React components as well?

Re:Code to Write to Start a SaaS by bryanrasmussen on Saturday May 02, 2020 @04:48PM (#23054792)
>Getting all these various tools set up to work together will take some time as well. Just searching "configuring webpack for X" reveals a minefield of blog posts written for various versions of webpack and X. Some will help, some won't, and sometimes only experimentation will reveal which is which.

Yes, I too hate Webpack but it keeps getting pushed on me by companies where they have set up Webpack because it is what everybody uses.

Re:Code to Write to Start a SaaS by quattrofan on Saturday May 02, 2020 @04:05PM (#23054502)
Or you could just build serverless and use Lambda...
Re:Code to Write to Start a SaaS by quezzle on Saturday May 02, 2020 @04:25PM (#23054639)
That’s real fiction right there.

How did lambda manage to create this false idea that it makes everything instantly easy? If anything in many ways it makes things much more complex and harder and more expensive.

Re:Code to Write to Start a SaaS by MattGaiser on Saturday May 02, 2020 @04:53PM (#23054819)
It is easy when you are a novice and don't really comprehend anything other than the seemingly really low price per call.

I've had friends propose serverless startups by comparing $5 a month in hosting to the cents of serverless.

Re:Code to Write to Start a SaaS by WrtCdEvrydy on Saturday May 02, 2020 @04:39PM (#23054726)
Amazon putting so much marketing money into it? Developers wanting to simplify it so they can get paid to make it happen?
Re:Code to Write to Start a SaaS by DanHulton on Saturday May 02, 2020 @05:10PM (#23054932)
Serverless/Lambda is a deploy option, not an alternative to writing code. Take Laravel, for example - a popular framework that traditionally is deployed to servers, virtual or otherwise. Well not long ago, they released Laravel Vapor (https://vapor.laravel.com/), a deployment platform for your Laravel code. It takes some configuration, but you can generally take your Laravel app and run it on Lambda using Vapor super easily.

But you still gotta write that app.

Re:Code to Write to Start a SaaS by tensor on Saturday May 02, 2020 @04:14PM (#23054565)
That doesn't actually make it significantly easier. You still need a backend framework and database. It also doesn't change the frontend needs at all.
Re:Code to Write to Start a SaaS by eranation on Saturday May 02, 2020 @05:13PM (#23054957)
So, while serverless is not a silver bullet, I don’t know why you got downvoted, a combination of using serverless plus managed services can significantly lower the dev and ops overhead of a modern SaaS.