Next time use create-flask-app

SanjayKhanSSK
1 min readDec 8, 2020

something like npx create-react-app, dijango-create-project. For flask projects

Photo by Sol Mitnick on Unsplash

Hello world, Welcome back. We all love to automate small stuff that takes long time to setup. So I have automated few things and here we go.

I have created this create-flask-app project to easily get started with your Flask- API application.

what will this do

  1. This project create a app template for getting started with api in 0 time.
  2. It comes with Docker-file to build image and setup CI/CD.
  3. It also creates virtual env, Install packages(Globally).
  4. This setup is for SQL projects (Nosql support — contribution needed).
  5. It comes with DB migration file(migrate.py) to migrate databases(flask-migrate, flask-sqlalchemy).
  6. It creates blueprints directory(traditionally known as views).
  7. It auto generate secret key for app.
  8. It auto generate requirements.txt

How to run

cd to your working folder — (the folder you want to create your app)

python(3) path-to-folder/create-flask-app

And contribution to this project is welcomed.

Sign up to discover human stories that deepen your understanding of the world.

No responses yet

Write a response