Next time use create-flask-app
something like npx create-react-app, dijango-create-project. For flask projects
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
- This project create a app template for getting started with api in 0 time.
- It comes with Docker-file to build image and setup CI/CD.
- It also creates virtual env, Install packages(Globally).
- This setup is for SQL projects (Nosql support — contribution needed).
- It comes with DB migration file(migrate.py) to migrate databases(flask-migrate, flask-sqlalchemy).
- It creates blueprints directory(traditionally known as views).
- It auto generate secret key for app.
- 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.