Now the front-end isn't the issue. But the backend, it may be hard to manage.
So what are your favorite tools for a one-man SaaS? Firebase?
The one you're most familiar with.
Use boring technology, as they say.
You will be more productive with the technology you feel comfortable with. If you look for the best available tech-stacks you might get overwhelmed by the options which are available. You would probably end up spending more time comparing these stacks.
I respectfully disagree, though I think familiarity is important as well.
I am easily most comfortable with JS/Typescript -- it's what I use most days for work. However, I could build a standard business app substantially more quickly with RoR. Most often, I think this would be my answer: Rails w/ PostgreSQL on Elastic Beanstalk.
It just ends up depending on the particular use case, even after you factor in learning time. A few years ago I worked on an IoT app and used Node on serverless functions w/ DynamoDB. Today, I'd use Firebase instead.
For my current project, I'm using Phoenix/Elixir because I want a some dynamic content/interaction but an SPA feels like overkill and too much work. LiveView sounds like a nice compromise. Achieving the same thing w/ Rails would meant sprinkling in JS and I couldn't find a way to do that in the reactive style I'm familiar with :)
All that to say, I'm on team use the right tool for the job as long you have a base level of familiarity with the tool or at least confidence that you can be effective with said tool.
Of course, familiarity is necessary but not sufficient. Using the right tool for the job is definitely true too.
I was going to throw my 2 cents in, but this is probably the perfect response. Boring tech allows/forces you to just focus solely on the product.
Absolutely, if your goal is to learn specific technology, then go for it. But when it comes to delivering the product to the market, then don't overcomplicate things.
Was going to say the same thing, haha
Have you tried Vercel + Supabase integration? I was able to set up a site on Vercel in minutes.
Being a super Firebase fan for years now I was super excited about Supabase and having a proper Postgres db to work with but as I tried to build something with it there were always some limitations and compared to Firebase it really feels incomplete, yet. And it's not that easy to just jump into as you could with Firebase.
Haven't worked with Firebase yet, but I do have experience with Postgres/Node/Express. Supabase has been pretty interesting as it essentially auto-creates the backend API via the Postgres data model. Is it still in beta?
Some missing functionalities I had to set up via custom SQL queries:
Some missing functionalities I haven't figured out how to handle yet:
Method of restricting data access is primarily Postgres's RLS, so writing policies can get quite hairy with a normalized data model. Only back-end code I had to write so far was to get around limitations of RLS and to call supabase API using elevated access.
Rails is the framework that I wish I learnt way earlier
It's amazing how many tiny decisions you have to make when you don't use rails. All those tiny decisions can add up to months of extra work.
Most answers to this question gravitates towards "use what you are most familiar with" I do not agree with that all. The tech you are most familiar with may not be suitable for the idea of your product or services. It may not be cut out for it at all. In my humble opinion, the answer is more like "use the tech stack that is more suitable for the project"
and to know that, you'd have to lay out the contours of your project and understand what it is that you want to accomplish. More often than not we put the carriage before the horse (tech stack before project idea) and that may be a source for trouble later on
I'd say use what you're already familiar with. If you're not sure where to start, pick the simplest you can get away with.
But for a more opinionated starting point: You can check out managed services such as Heroku, Render, AWS Lambda/Fargate or Digital Ocean App Platform.
These are simple, not overly expensive and you can leverage some of their other services once you need to grow.
If you want a concrete example, some months ago I wrote a blog post describing the tech stack of my one-person SaaS.
Just take it with a grain of salt: It's definitely more complex than what most products need, but it works really well for my use case.
Agree that the best start is the stack that you already know cause you need the solution to be cheap and easy to made - you need to test a lot of hypotheses before finding product-market fit, you need to iterate fast.
As for me the stack is:
I learned this during my research for CTO Toolkit
SaaS startups should try and use whatever is popular in the market for their niche - so that it will be easy to:
I love Spring Boot + Postgres + Stripe Checkout
If i was starting from scratch i would use this python django backend template: https://www.saaspegasus.com/
Laravel + Vue :)
Nextjs, Nodejs, Mongodb and NGINX. This is the coolest combination.
Are you using Nginx for reverse proxy? Can starter template for nginx configuration which you can suggest?
I am confused. Why do you need node when you have next. Next is SSR right?
So express is your Node.js framework? or which one?
Yes, express it is. I like how you can use middleware modules for additional tasks.
Backend using flask and redis. For user accounts, I use a combination of getcheddar, airtable, convertkit (for email notifications). Some zapier integrations. Sentry.io to detect errors.
I agree with most folks here – use whatever you know best and is suitable for the job.
For me, it's either the TALL stack (Tailwind, Alpine, Livewire, Laravel) or VILT stack (Vue, Inertia.js, Laravel, Tailwind), depending on how much reactivity I plan to implement.
I use Flask, MySQL/Postgres for all of my projects. Use whatever you are most comfortable with.
The 3 R's have served me well:
Honestly an absolute breeze to work with. Rails and Render are both opinionated so they will basically handle all the heavy lifting.
You could get an average MVP (i.e. twitter clone or something) built and pushed live within 1 day with this stack (assuming you know how to use it of course).
But it's usually not worth it to learn something completely new to build a product. If you already know a framework, use that. If not I would recommend the above.
I start with Rails + Postgres. It's fast to build/iterate, and it just works. If what I'm doing requires real compute then I'll build a little supplementary service in whatever makes sense as well...but for the vast majority of all startups with less than 100 customers a single server with postgres and rails on it will be fine.
Over 100 customers? Congrats...now you know enough about how people use it and what caused you pain to iterate from there.
I'd add something: you don't need to use the one you're most familiar with (of course, it will be the shortest path to success).
You could also pick the one that you would enjoy the most. The thing with product making is that you are not sure about anything, when it comes to the result. So, if you can enjoy it, at least, discover some new technologies, … that would already be a win.
You can even mix them. When building my app: https://datelist.io, I took the backend language I knew the most, combined with a frontend framework I really wanted to discover: Vue.js
So, I can say you can pick between :
There is just another choice that you should avoid:
Good luck for your project,
There are modern serverless databases are popping up every day now. Which can make you sleep well. They are 100% automated, pay for use, and planet level scalable. https://serverlesstalent.com/products/database
I've used Firebase and like it I've also used Azure, Render.com with BlitzJs and recently started using AWS.
As a mention in this tweet ☝I think more Indie hackers could benefit from how cheap AWS deployment is. If you can deal with the complexities serverless will be the most expense efficient way to host applications.
For my particular use cases, I prioritise 3 things:
I guess the question would translate to what's the tech stack you are more productive with.
Once you answer that question, you will have address how are you going to distribute your Saas: Azure, AWS, Google, on premise?
I've pushed bloggu.io live with Supabase and Next.js in 1 week.
Go with firebase, there's nothing wrong with it, or try MongoDB cloud's free tier. Don't host it yourself, don't worry about security. SQL? Sure. What's the first thing that comes to your mind when I say backend? Is it Nodejs? is it firebase? is it PHP?
There's absolutely nothing wrong with any of these just get started. Figure this out later. Hire a dev to work in parallel to rewrite the entire code from PHP to NodeJs for example. It's worth it.
I would suggest a low-code backend to make your life easier.
Random person you meet on Internet with a success story ≠ Your Success Story.
You need to account for time required to acquire the skills mentioned here.
Additional time is required for Design/ Marketing/CopyWriting/Social Media Marketing/Sales Call.
I have estimated time optimistically. Your time may vary - but you are realistically looking at 1 1/2 years of learning.
I keep it simple: Bootstrap, Express and PostgreSQL. I'm looking to learn React tho
I regularly get amazed to find many wonderful and scalable apps built even on PHP.
Choose a stack that you are familiar with and once you start achieving scale, it is easy to add part of new functionalities in a different stack as microservices.
We started with Java, Spring for our CRM product at www.toolsoncloud.com and it has worked out pretty well for us.
Great question - what have you chosen in the end?
React + Firebase
I like Python and have been using django for a while (almost 10y) but since a product enter by the eyes first I think UI is a key componenet and I feel django maybe hasn’t the most rapid templating, therefore I use Vue on frontend and it is super fast to get on it and mock some ideas, also reuse it in other projects.
So my stack is well splitted between Vue + Nuxt on frontend rendering and Django + Postgres + Celery on backend. Also a docker managing all the stack.
I think the perfect stack, is just a good one where you are confortable to work with and help to speed up the process.
I think best ABP FrameWork. I managed 3 saas projects, especially if has a tenant feature ABP excellent.
For one-man SaaS, you want to deal with as little server management and dev-ops related activities as possible. Plus, you really want to maximise your productivity, so that you can build your app in a short amount of time.
The stack that I'd recommend you is a bit unconventional, but works for me:
Nodejs express anytime, by the way these are not hard, their deployment to ec2 etc is a little tricky
I’m wondering the same thing. When people are asking about technology, they usually aren’t an expert. If they were comfortable with a technology, then they’d use that and not ask. Anyone have recommendations for someone who’s NOT comfortable with an existing technology?
Yeah True. I don't have a big experience with Backend so that's why I mentioned firebase. I thought the suggestions would go with that theme. I'm familiar with Django and Node.js. However, I think they would require tons of time to ship something and it doesn't make sense to me as I'm doing this alone. Anyway, I chose Firebase.
Our micro saas build on Tailwind, alpinejs,handlebars, gulp and
I was building a personal project in Go + Vue.js. Progress was so slow.
I switched over to Rails + Hotwire, and it's been a pleasure to work in because I feel like I make visible progress every day.
So, my biggest recommendation is - avoid separate backend+frontend stacks, and try to use some full-stack framework if possible. It simplifies life a lot.
Nomadlist is one single PHP file. $441k ARR https://nomadlist.com/open
As a one-man SaaS I use React, Node, Mongo, express, firebase auth, and Stripe.
ill +1 this... go for firebase backend as service for SAAS indehackers... firebase is quick to get started and has a fair free usage which will keep your product live for those first 2-3yrs even if things are tough...
firebase would certainly be a bit pricey once u have enough users, however i would say that is a good problem to have and you can optimize cost or more incrementally to AWS/GCS...
I think I want my next app to be build on AWS Lambda. Been playing around with it a lot and while the developer workflow is not what I'm used to, the benefits in scalability/maintenance/ops seem extremely worthwhile for a 1-person SaaS to be sustainable over the long term.
I would say use the tech stack you are most comfortable with.
Even if it is viewed as the worse tech stack by others.
I would say if you can find the tech stack being used on major sites then you are good to go.
I'm experienced in the front-end (React) but not the backend.
Anyway, I chose Firebase as it offers a lot of out of the box features
Django all the way + React if needed in some place. ( I rather do CDN the single page than trying to create a project using NPM.
Django is great. React is great. But the combination is a bit troublesome
The best tech stack for your new project is the one that gets your idea in front of customers most efficiently. Not shipping is the single biggest block to success.
If you encounter the problem that too many people want to use your idea and the stack isn't up to it you'll be able to hire a team. At that point I would defer to the expertise of the tech team you hire (their answer will be a combination of what they like to work with, what they are familiar with, and what best meets the challenges of the achieving the vision).
"Get it out there" is the driver for best choice.
As others have said, what you know + simple and quick. Your goal is to see if people want what you have to offer.
We started as a small team with Firebase and it has grown with us. It really makes development, security, and DevOps easy, but it does get more expensive as you grow.
Here is what we used: https://www.ayrshare.com/our-firebase-tech-stack/
If you would ask me then Rails or Phoenix with absolute simple single-server deployment (which you can learn about here).
But if you already know something, you can stick to it.
It depends of the type of application you building. I use firebase for small scale application and spring boot for larger one
For me, it's definitely :
Why do you ask about others' favorite tools? What is your favorite tool? Pick up that you like most, that you are most confident with and it will be the perfect tool for a "one-man SaaS".
Tailwind CSS, NextJs, Apollo, Prisma, MySQL, Digital Ocean or AWS (depending on project size)
AWS LIGHTSAIL offers some out of the box bitnami stacks (LAMP, Django, NodeJS, WordPress, MEAN ... etc) that just work with as little configuration as possible. Networking (DNS Zone, Load Balancer, CDN etc...) is a breeze. Through peering you can access other AWS services as well. Lightsail is like a Private Network within AWS. It really provides everything a startup needs to get off the ground and very scalable. cost is pretty reasonable. I really fell in love with you. It
I'm biased, but I use https://www.blitzjs.com.
And because I'm a one man show, I decided to create a SaaS starter for blitzjs. Check it out https://www.1upblitz.com
It already saved me an others a HUGE amount of time and stress.
I think the main idea is to merge front-end and back-end in the way you are not wasting your cycles.
There are 2 good options today (other stacks might have a copy of this as well):
But above all use what you know.
I personally love the idea of a more unified front-end and back-end. I made this Svelte-based frameworky thing called Full Stack Svelte that I've been using in production and has made my life a lot easier: https://github.com/Glench/full-stack-svelte-prototype/
I just published an article about my tech as one-man SaaS: Modern Tech Stack to build a SaaS in 2021
Built with modern technology for 2021 with Next JS and AWS
NextJS, Django, Postgres, Redis, Tailwind UI, Docker, Heroku.
Agree with others on here! The best tech stack is the one you are comfortable/familiar with. For https://launchweb.me - a man one show, it's all Firebase - Auth, Firestore, Storage and Cloud Functions.
For SiteFast(https://sitefast.live/), a one-man show.
I am using the TALL stack(Tailwind,Alpine,Laravel, Livewire)
As everyone else is saying: there's not best tech stack. But my own stack is: PHP on Laravel, PostgreSQL, Forge for deployments.
Like others have mentioned, you can't go wrong with Postgres. Check out Hasura (Graphql) and Supabase (like Firebase) if you want a low code and easy way to set up a backend on top of Postgres. Both have hosted versions which means you don't have to manage servers or open source that you can self host. Avoid nosql at all costs.
In my opinion, the best tech is the one you're most comfortable with. Doesn't have to be sexy.
I build saas’ in Django. It’s boring and not not modern frontend friendly. But it gets the job done.
Big fan of Next.js + Firebase/Firestore + React Query + Stripe Checkout
YMMV but my personal preference is Next.js serverless functions + Prisma + Postgres