10 ms·
Show HN: Nextless.js: Full-Stack React SaaS Boilerplate with Auth and Payment
- robertlagrant 5y agoThis is a great idea that I wish I'd got stuck into doing when I thought of it :) Very nice.
- magicink81 5y agoYou're not too late. Do it! You'll learn more along the way. You don't need to be first, you just need to be good.
- ctoth 5y agoThis looks nice but you might want to read over the site for spelling issues.
- creativedg 5y agoMy fault, I've already tried to fix the spelling issue, I've done my best. As you can see, English isn't my mother tongue :s I'll seek the help from a native english speaker.
- mikebannister 5y ago* Authentification -> Authentication * Infrastucture -> Infrastructure * Dasbhoard -> Dashboard
- creativedg 5y agoThank you for your feedbacks, I've just fixed your suggestion and should be available on production.
- cutler 5y ago$2099 plus licence fees for each client? Good luck with that. I'm assuming the client licence fee is the Single licence at $699 but it's not specified.
- vittore 5y agoThere are good amount of rails starter templates that going around that price with similar set of features. I think there is demand for it. (not affiliated with it in any way)
- cutler 5y agoDo they have additional licence fees for each client as this does?
- vittore 5y agothey usually do the same model when it is X for one site/project and ~ 1.5x unlimited use
- creativedg 5y agoYes, indeed, there are something similar in Rails and Django ecosystem. All of them give access to: - Authentication - Payment - Dashboard UI - Landing page - Form management - ... I just made the same for Node.js/JavaScript/TypeScript ecosystem. Nextless.js also gives access to the same features in React and TypeScript. But, I also wanted to add more into the boilerplate, things that don't offer by others: - Infrastructure as code - Serverless for scalability and pay-as-you-go pricing with no server to manage, no docker, no kubernetes
- cutler 5y agoYou didn't address the licencing issue.
- robertlagrant 5y agoWhat's that, 3 days of a contractor? I don't think someone could make that in 3 days.
- tlackemann 5y agoYour main competition is going to be Laravel. And they're a hell of a lot cheaper, better supported, bigger community ... What's the strategy here?
- arcosdev 5y agoit's not PHP
- cutler 5y agoYou think clients care?
- vosper 5y agoI think if you're starting up today you may find easier to find someone who can build you a site with React than with PHP. Or if not today, then give it a few years. Likewise I think someone starting up for themselves is more likely to be a React programmer than a PHP programmer.
- MisterBastahrd 5y agoI think it's hard to fine good PHP developers. I also think it's damned near impossible to find React developers who are capable of doing anything that isn't React flavored. For those reasons alone, I'd choose PHP over React, especially if I want to scale.
- cutler 5y agoLaravel is well-integrated with Vue.js as an option so you might want to look into that.
- MisterBastahrd 5y agoOh, I know, I'm just poking at the "I know this thing so everything that we deal with must have a solution derived from this thing" crowd. The SAAS company I work for is about to start migrating away from the monolithic framework we have to a tiered services architecture, and we'll be using laravel because it meets our needs.
- patatino 5y agoJust use supabase + nextjs + stripe They have a free example on their page, covers most of what this is offering
- BerkhanBerkdemi 5y agoI see similarities with Redwood[0]. Nextless.js is just added sugar, spice and rest of the boilerplates. [0]: https://github.com/redwoodjs/redwood https://github.com/redwoodjs/redwood
- creativedg 5y agoIndeed, you can use Redwood or any other framework to build a SaaS. But, at the end, you need to set up: - Authentication - User dashboard - Landing Page - Pricing - Form management - Stripe integration - Infrastructure as code - Type checking, linter, code formatter - VSCode Nextless.js provides everything out-of-the-box for you to build a SaaS business and focus on the things that makes your SaaS unique. You shouldn't lose time on boring UI, setup and configuration.
- a13n 5y agoI've thought a lot about this specific idea. I think the problem with your business model is: - People who have already built their company/website/product are not going to move the world to adopt your platform. It's just too much work. - This leaves you with people who haven't built/shipped anything yet, who aren't really willing to pay $500-2000 for your software (there may be exceptions, but not thaaaat many). I think a really successful business model would be something like: - Free for the first $10k revenue - 3% of revenue after that (auto calculated via Stripe) This way, many more people will get started with your software, and those that are actually successful will end up paying you a lot more than $500. "We don't get paid till you do" is the headline on your pricing page. I'd imagine your retention would be amazing because it'd be very difficult to move off (similar reasons as Stripe, AWS).
- arcturus17 5y agoThis could be interesting for agencies and freelancers more than the customers themselves. I own a consultancy and I might find this interesting as I don't have an internal SaaS framework yet. The two problems I see are: 1. Lack of options... There may be some parts of the stack that I don't like or don't fit requirements 2. Unknown code quality... Cannot tell what the coding standards are. This is related to #1 in that I don't know how hard the code will be to modify unless I read it. Otherwise it's an interesting proposition. React/Nextjs are my jam, and I prefer serverful (Django) to serverless but that might be negotiable. But even if I wanted to drop in my own server, if the front-end is well coded I could easily save 2x-3x the 1.8k sticker price in dev costs on a single project. If I were to build a SaaS myself, I might also find this interesting with all the caveats above, but I would 200% certain not pay a revenue share unless the platform really required minimal tweaking and was about 90% adjusted to my use case, and provided continued platform value after that launch (like, say, Shopify).
- a13n 5y agoI mean I think a lot of people want to build a SaaS, but it's a lot of work. You need to build a landing site, set up pricing plans, integrate with Stripe, build user authentication, build company accounts + team invites, and that's just for an MVP, not including the product itself. If you can get all of that for free (to start), and that saves you months of building, that's pretty worthwhile. At $1m ARR you're only spending $30k/yr on the platform, which is roughly what your AWS/Stripe bill is anyway. There can definitely be more features too like user permissions, A/B testing, CMS, analytics/tag manager integration, etc, etc that continue to deliver value / save you time/money/effort as you grow.
- cjonas 5y agoCan someone explain the advantages of using nextjs serverless?
- cjonas 5y agoSorry to clarify... I understand the benefits of serverless, but what does nextjs add beyond just built in routing. Seems like most of it's benefits are part of the server
- k__ 5y agoAnd the "server" is Lambda, I think?
- cjonas 5y agoI assumed it was using the "export" but that makes sense
- creativedg 5y agoAll frontend is in "export" mode, made in static. So, no dynamic server needed to run the frontend, 100% compatible with any static hosting like Cloudflare page. For the backend, it uses AWS lambda with API gateway and protected by AWS Cognito for private route.
- k__ 5y agoBut Next SSR should work on Lambda, right?
- creativedg 5y agoI know it possible but I've never tried it.
- cutler 5y agoServer-side rendering (SSR) is an ass-backwards attempt to recover what is lost when you go all-in on the SPA approach. SPA buggers-up SEO, navigation and history so what's the answer - duplicate the "page" on the server. Why not just render on the server to begin with and spice-up the front with JS as needed a la Phoenix Live View (Elixir), Laravel Livewire and Rails Hotwire?
- devops000 5y agoWe can do similar with Webflow, or Bubble.
- creativedg 5y agoI'm not an expert about Webflow, or Bubble. But, if I'm not wrong, I don't think you can build a SaaS with these two nocode tools.
- motoxpro 5y agohttps://bubble.io/template/ultimate-saas-template-1603380654798x586710461007003600 https://bubble.io/template/ultimate-saas-template-1603380654...
- robertlagrant 5y agoCheck the review :)
- madjam002 5y agoStripe offers self serve customer portals for managing subscriptions out of the box with their Billing offering, plus checkout pages, so it’s super quick to integrate Stripe into your own project now with minimal boilerplate.
- teamspirit 5y agoThat's what I was thinking. For this to succeed, they'd have to differentiate themselves from Stripe's own offering and, at least to me, that's not obvious.
- teamspirit 5y agoTo clarify my own comment, clearly Stripe doesn't offer hosting, but I don't see that as the main offering here. Today, hosting a landing page is trivial and linking that to Stripe's portal is just as easy. I do wish the project success and hope they're able to find their market.
- dbbk 5y agoAs long as you don't have any international customers that would necessitate VAT support...
- creativedg 5y agoCurrently, Stripe is addressing this issue. Couple months ago, they released Stripe Tax... I didn't have the chance to try it but it seems very promising and it's only the first version.
- leerob 5y agoRelated, free template: https://github.com/vercel/nextjs-subscription-payments https://github.com/vercel/nextjs-subscription-payments
- hutrdvnj 5y agoAdd hosting for one year to your offer and I'm in, otherwise I simply pick a free and open source starter from GitHub.
- k__ 5y agoI'm currently in the middle of building such a thing. It's nice to see that there are more efforts in that directon. I'm do it more "on the side", the actual goal is an SaaS product. Also, I'm looking more into non-AWS solutions right now. Cloudflare Workers, FaunaDB, Auth0, Paddle, etc.
- creativedg 5y agoThank you for your support and extremely happy you are also building a SaaS. Definitively, there are several ways to build a SaaS product and I also think Cloudflare Workers, FaunaDB, Auth0, Paddle, etc. is a good stack. One good thing to use AWS, everything is centralized. Another good thing is you can use Infrastructure as code. As a developer, you can provision everything with code (TypeScript), no need to click and remember user interface.
- k__ 5y agoThat's right. AWS brings more out-of-the-box. But stand alone solutions are usually more polished. Currently, I'm using Pulumi, which is like the AWS CDK, but for more than AWS. I built some resource providers for unsupported services, and it worked like a charm.
- louissm_it 5y agoLooks cool, if a little pricey. What's keeping me from using serverless for more general purpose SaaS is that there is absolutely no good answer for background jobs. Sure, you can plug in some external CRON service, use GitHub Actions, or maybe use something like quirrel.dev. But none of that comes close to "rails g job example" (or your favourite frameworks equivalent). Good luck with your project, though!
- creativedg 5y agoThank you for your support and message. I've never tried it myself but there several option to build a background jobs in serverless mode: Amazon EventBridge and CloudWatch Events. You can check the documentation at https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/S... So, no need to plug any external service. I'm totally bias but I love Serverless, you can do everything. Background jobs shouldn't stop you using Serverless ;)
- XCSme 5y agoHow does this compare with https://blitzjs.com/ https://blitzjs.com/ ?
- creativedg 5y agoDefinitively, blitzjs is extremely good full-stack framework to build applications and there are a lot of things we can learn from them. Nextless.js is different compared to blitzjs, here is the feature which aren't available in blitzjs: - Payment integration - Dashboard UI - Landing Page - Infrastructure as code - Deploy in Serverless environment Nextless.js focus on SaaS application and help you build your SaaS product faster.
- lmarcos 5y agoAs a developer who is in the complete opposite side of how saas are developed (i.e., dependencies to a minimum, reproducible environments, boring and stable tech vs cutting edge tech, framework-agnostic core, etc.), can someone tell me: How do you maintain a saas developed with such a framework after a few years of pushing features to production? I can only imagine that using such an approach (i.e., Nextless.js approach) is enjoyable at the beginning (when there is no product at all and you need to build from scratch), but it will become terrible painful to work with after a few iterations dealing with so many dependencies that are core to your product.
- creativedg 5y agoIt's quite enjoyable to develop in cutting-edge tech: React, Tailwind CSS, TypeScript, Serverless, VSCode, etc. You are now in component paradigm with typing and styled with utility class for the frontend. Fully build in static mode so no need to have a dynamic server to serve your frontend: better performance, secure, cheaper. You can also deploy at each commit to preview your front. Thanks to cutting-edge tech, you can deploy your backend in one command and the same thing to provision your cloud infrastructure (also in one command). With Serverless, everything scale based on your traffic, you don't need to worry about over/under provision with little maintenance. I was a web developer in 2010 and the developer experience wasn't the same. You need to rent a server, SSH to the server, install OS dependencies, install a firewall, install a webserver, install a database, log management, monitoring, etc. and still, I didn't talk about your application and business logic. Launching a SaaS in 2010 has been extremely painful. It seems there are a lot of dependencies but every dependency is integrated into Nextless.js for a reason. It's just the bare minimum to build a high-quality SaaS product in 2021. Nextless.js speeds up development for your SaaS with UI components, authentication, subscription, form management with developer experience in mind: type checking, linter, code formatter, editor configuration. Not only Nextless.js will help you to build your SaaS, but it also takes care of your production environment by leveraging serverless. On the contrary, using all these dependencies, remove a lot of burden from you and give you more time to focus on your business. No need to be an Ops engineer or UI/UX designer anymore for a small SaaS. Still not convince? You aren't dealing with these dependencies directly, a lot of them work under the hood and Nextless.js are taking care of them. So, no need to worry about these dependencies yourself and Nextless will receive updates. You just need to focus on the things that make your SaaS unique and grow your business. PS: Sorry for this long response ;) I started with one paragraph and make a short response. But, I end up with this huge text and I hope it responds to your questions.