All Projects β†’ alectrocute β†’ Flasksaas

alectrocute / Flasksaas

Licence: mit
A great starting point to build your SaaS in Flask & Python, with Stripe subscription billing πŸš€

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Flasksaas

React Core Boilerplate
Powerful ASP.NET Core 3 templates with React, true server-side rendering and Docker support
Stars: ✭ 169 (-58.98%)
Mutual labels:  boilerplate, bootstrap, template
Laravel Boilerplate
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme
Stars: ✭ 704 (+70.87%)
Mutual labels:  boilerplate, bootstrap, template
Sing App
πŸ’₯Free and open-source admin dashboard template built with Bootstrap 4.5 πŸ’₯
Stars: ✭ 1,187 (+188.11%)
Mutual labels:  boilerplate, bootstrap, template
Koa Vue Notes Web
πŸ€“ This is a simple SPA built using Koa as the backend, Vue as the first frontend, and React as the second frontend. Features MySQL integration, user authentication, CRUD note actions, and Vuex store modules.
Stars: ✭ 200 (-51.46%)
Mutual labels:  boilerplate, bootstrap, template
Flask Rest Template
template for a rest app with flask, flask-rest and more...
Stars: ✭ 95 (-76.94%)
Mutual labels:  flask, boilerplate, template
Slapdash
Boilerplate for bootstrapping scalable multi-page Dash applications
Stars: ✭ 225 (-45.39%)
Mutual labels:  flask, boilerplate, bootstrap
Tedivms Flask
Flask starter app with celery, bootstrap, and docker environment
Stars: ✭ 142 (-65.53%)
Mutual labels:  flask, bootstrap, template
Limestone
Boilerplate Rails 6 SaaS application with Webpack, Stimulus and Docker integration.
Stars: ✭ 191 (-53.64%)
Mutual labels:  saas, stripe, boilerplate
Yclas
Yclas Self Hosted is a powerful script that can transform any domain into a fully customizable classifieds site within a few seconds.
Stars: ✭ 276 (-33.01%)
Mutual labels:  stripe, bootstrap
Grumbler
A template for writing distributable front-end javascript modules.
Stars: ✭ 280 (-32.04%)
Mutual labels:  boilerplate, template
Flask Api Starter Kit
Start a Flask API in less than 5 minutes
Stars: ✭ 296 (-28.16%)
Mutual labels:  flask, boilerplate
Modular Admin Html
ModularAdmin - Free Dashboard Theme Built On Bootstrap 4 | HTML Version
Stars: ✭ 2,875 (+597.82%)
Mutual labels:  boilerplate, bootstrap
Create React App Material Typescript Redux
A ready to use boilerplate for starting big react projects
Stars: ✭ 257 (-37.62%)
Mutual labels:  boilerplate, template
Issue Label Bot
Code For The Issue Label Bot, an App that automatically labels issues using machine learning, available on the GitHub Marketplace. This is also code for the blog article: "How to automate tasks on GitHub with machine learning for fun and profit"
Stars: ✭ 292 (-29.13%)
Mutual labels:  flask, bootstrap
play-tailwind
Play is free and open source Tailwind CSS template for - Startup, SaaS, Apps, Business and More. It comes with a high-quality design and all essential components & pages you need to launch a complete website.
Stars: ✭ 60 (-85.44%)
Mutual labels:  saas, software
Graphql Starter
πŸ’₯ Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI.
Stars: ✭ 3,377 (+719.66%)
Mutual labels:  boilerplate, template
Nuxt Material Admin
Vue-CLI Boilerplate based on Nuxt and vue-material-admin template.
Stars: ✭ 310 (-24.76%)
Mutual labels:  boilerplate, template
limestone-accounts
Boilerplate Rails 5.2 multitenant SaaS application with webpack and Docker integration. Billing is scoped to accounts.
Stars: ✭ 97 (-76.46%)
Mutual labels:  stripe, saas
Djaodjin Saas
Django application for software-as-service and subscription businesses
Stars: ✭ 297 (-27.91%)
Mutual labels:  saas, stripe
K8sapp
Application template that satisfies the Kubernetes requirements (Golang)
Stars: ✭ 321 (-22.09%)
Mutual labels:  service, template

flaskSaas

License

A fork of Max Halford's flask-boilerplate. I've noticed SaaS bootstraps/boilerplates being sold upwards of $1,000 per year and I think that's fucking ridiculous. This project will be my attempt to make a great starting point for your next big business as easy and efficent as possible.

If you're here because of Siraj's video, welcome!

Features

  • [x] User account sign up, sign in, password reset, all through asynchronous email confirmation.
  • [x] Form generation.
  • [x] Error handling.
  • [x] HTML macros and layout file.
  • [x] "Functional" file structure.
  • [x] Python 3.x compliant.
  • [x] Asynchronous AJAX calls.
  • [x] Administration panel.
  • [x] Logging.
  • [ ] Stripe subscriptions. (WIP)
  • [ ] RESTful API for payments.
  • [ ] Simple RESTful API to communicate with your app.

Libraries

Backend

Frontend

Structure

I did what most people recommend for the application's structure. Basically, everything is contained in the app/ folder.

  • There you have the classic static/ and templates/ folders. The templates/ folder contains macros, error views and a common layout.
  • I added a views/ folder to separate the user and the website logic, which could be extended to the the admin views.
  • The same goes for the forms/ folder, as the project grows it will be useful to split the WTForms code into separate files.
  • The models.py script contains the SQLAlchemy code, for the while it only contains the logic for a users table.
  • The toolbox/ folder is a personal choice, in it I keep all the other code the application will need.
  • Management commands should be included in manage.py. Enter python manage.py -? to get a list of existing commands.
  • I added a Makefile for setup tasks, it can be quite useful once a project grows.

Setup

Vanilla

  • Install the requirements and setup the development environment.

    make install && make dev

  • Create the database.

    python manage.py initdb

  • Run the application.

    python manage.py runserver

  • Navigate to localhost:5000.

Configuration

The goal is to keep most of the application's configuration in a single file called config.py. I added a config_dev.py and a config_prod.py who inherit from config_common.py. The trick is to symlink either of these to config.py. This is done in by running make dev or make prod.

I have included a working Gmail account to confirm user email addresses and reset user passwords, although in production you should't include the file if you push to GitHub because people can see it. The same goes for API keys, you should keep them secret. You can read more about secret configuration files here.

Read this for information on the possible configuration options.

License

The MIT License (MIT). Please see the license file for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].