Giter VIP home page Giter VIP logo

Comments (6)

nickjj avatar nickjj commented on June 11, 2024

Hi, thanks for showing interest in the project.

  1. At this point I'd say it's production ready.

  2. Yes, but I don't feel comfortable linking my client's sites here. I am using a modified version of this code base to run https://buildasaaswithflask.com/ , which is a site that sells and securely distributes screencasts that teaches you about this code base.

In the above link's case, it's using 1 time payments instead of monthly recurring subscriptions and given the current base of this project, that only took a few hours to implement and test.

  1. I'm not sure what you mean here, but every service is its own Docker image. This allows you to easily scale and move running containers around.

  2. You can comfortably run everything on 1 server with a single $10/month Digital Ocean droplet. You will have a few hundred mbs of RAM left over to cache your important data and have breathing room.

  3. The deploy aspects of everything can be found in this book https://leanpub.com/deploy-web-apps-with-docker, it does not cover multi-instance scaling but there are a number of easy to use command line tools to create a new droplet or you can just use Digital Ocean's website's UI when needed because really, you pick 3 things and click a button and 30 seconds later you have a new droplet. You can also easily add more CPU/RAM/disk to a droplet (~20-30 seconds).

You're also not locked into using Digital Ocean, nothing is specific to that platform. If you really need auto-scaling you could just move to Amazon.

  1. No, that goes well beyond the material I plan to cover because to make something like this generic is a pretty huge undertaking but you could build on other open source technologies like kubernetes, mesos or openshift v3 and adapt them to your company's needs.

  2. If you're talking about users picking new plans in the app contained in this source code, then yes. After you've signed up with an initial plan you only need to click 1 button to change plans and the user's billing gets pro-rated automatically. They don't even have to put in their billing info again to change.

  3. The deploy example is based on using 1 host. Docker itself handles DNS in situations like this for container to container communication. Also host to container is easy too because it's just localhost.

I hope that answers your questions. The main website that sells the screencasts will get a new video posted today or tomorrow that will demo most of the capabilities of the application.

from build-a-saas-app-with-flask.

PhantomYdn avatar PhantomYdn commented on June 11, 2024
  1. In our case, every client's instance require 256Mb as minimum. So new droplets should be automatically added if that's required for a new client.

if every plan is a different image: that's rather marketplace of different products than "different" plans... Do you support set of "features" for a plan? For example: I want plan A, but I need 30Gb, so I will pay +$20 per month. Is this possible?

And one more question: does solution support upgrade of a client's container by new product version? Can that be done in a safe mode: let say - try to rollout new image with the same "docker" images and if something wrong - just keep old version for a client?

You did a great work: we will definetly buy your product - at least for materials. Am I right, that they will be helpfull even for a case if we will decide to build our own SaaS platform?

from build-a-saas-app-with-flask.

nickjj avatar nickjj commented on June 11, 2024

I think there might be a little confusion going on here. This project isn't offering a hosted solution for you to scale your infrastructure.

When I talk about "plan", I mean in the application code, the customer can freely pick and change plans which would affect what privileges they have in the application. This project gives you the ability to manage those plans, but it's on you to define the privileges since every app is different.

I put up a demo video last night, this walks you through what this project provides you:
https://buildasaaswithflask.com/demo

Then for deploying it, you could follow along with this book:
https://leanpub.com/deploy-web-apps-with-docker

If you wanted to go 1 step further you could create your own custom work flow based on the book. The book is meant to get you going in a very reasonable way, but if your business revolves around automatically provisioning machines then it would be a good idea to create something more fancy.

As for Digital Ocean's plans (the hosting provider), you can find them here:
https://www.digitalocean.com/pricing/

They are pretty flexible with the build choices, dozens of operating systems to choose from, easy to change the requirements, etc..

Am I right, that they will be helpfull even for a case if we will decide to build our own SaaS platform?

Yeah, this is pretty much the entire goal of the project. To give you a solid base to build your own platform on top of it. It will save you a ton of hours of development time.

from build-a-saas-app-with-flask.

PhantomYdn avatar PhantomYdn commented on June 11, 2024

I see now. Yea - word SaaS confused me a lot: I thought that solution will help organize provisioning and selling of a software as a Service. So once customer select a plan: proper docker image will be automatically deployed and so on...

Question regarding your book: am I right that if I buy it I will receive also updates for the book? I saw that you are working on the book quite closely.

from build-a-saas-app-with-flask.

nickjj avatar nickjj commented on June 11, 2024

Yes, you are correct. Once you purchase the book you will be able to download free updates for life in any format that's supported.

from build-a-saas-app-with-flask.

nickjj avatar nickjj commented on June 11, 2024

Going to close this for now. If you have any other questions, please open a new issue.

from build-a-saas-app-with-flask.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.