3 ms·
Ask HN: How to build minimal login and payment for web app?
What is the easiest way to build a minimal product that has a way to have users sign in and pay a monthly subscription? Let’s say we want to do this in Python. To make this more concrete suppose I want to monetize a function hello(name) that takes a string and prints out "Hello, " + name + "!". What is the easiest way to build the subscription and payment infrastructure? Is there a SaaS that solves this problem?
- varlogix 6y agoI think Laravel framework for PHP has something called Spark which provides this. https://spark.laravel.com/ https://spark.laravel.com/
- trcarney 6y agoDjango has the sign in stuff built in and stripe can provide the payments quickly, they even provide the payment forms.
- kleer001 6y agoPlease don't build one yourself for actual commercial use. Please rely on established ones for that. Otherwise it's a great exercise.
- Jugurtha 6y agoI'll be doing that as well for our internal machine learning platform. I'll use Stripe, but it doesn't accept Algeria, so we'll use our accounts in France. You can use Flask Login[0] for the login part and I hope you live in an area that payments services support. - [0]: https://flask-login.readthedocs.io/en/latest/ https://flask-login.readthedocs.io/en/latest/
- soulchild37 6y agoFor Ruby/Rails, there's https://jumpstartrails.com https://jumpstartrails.com and https://bullettrain.co https://bullettrain.co that handles these for you so you can focus on coding the core functionality.