All Projects → rochacbruno → flask-project-template

rochacbruno / flask-project-template

Licence: Unlicense license
DO NOT FORK, CLICK "Use this template" - A github template to start a Flask Project - this uses github actions to generate your project based on the template.

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects
shell
77523 projects
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to flask-project-template

fastapi-project-template
DO NOT FORK, CLICK "Use this template" - The base to start an openapi project featuring: SQLModel, Typer, FastAPI, JWT Token Auth, Interactive Shell, Management Commands.
Stars: ✭ 262 (+254.05%)
Mutual labels:  project-template, python-template, python-project-template, rochacbruno-template
qt-qml-project-template-with-ci
Template for a Qt/QML application with batteries included: GitHub C.I. for your QML app; automated gui testing with Xvfb; automatic code-format checks and more. Compiles for Desktop and Mobile (Linux, Mac, Windows, and Android).
Stars: ✭ 33 (-55.41%)
Mutual labels:  project-template, cookiecutter, template-project
Cookiecutter Django
Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.
Stars: ✭ 8,826 (+11827.03%)
Mutual labels:  project-template, cookiecutter
Cookiecutter Golang
A Go project template
Stars: ✭ 437 (+490.54%)
Mutual labels:  project-template, cookiecutter
Copier
Library and command-line utility for rendering projects templates.
Stars: ✭ 277 (+274.32%)
Mutual labels:  project-template, cookiecutter
Wemake Python Package
Bleeding edge cookiecutter template to create new python packages
Stars: ✭ 235 (+217.57%)
Mutual labels:  project-template, cookiecutter
cookiecutter-modern-pypackage
Cookiecutter template for a modern Python package.
Stars: ✭ 97 (+31.08%)
Mutual labels:  cookiecutter
nodejs-hackathon-boilerplate-starter-kit
Just a Hackaton/Startup Full-stack node.js starter
Stars: ✭ 37 (-50%)
Mutual labels:  template-project
kedro-starters
Templates for your Kedro projects.
Stars: ✭ 39 (-47.3%)
Mutual labels:  project-template
witney
Don't wait to start with your javascript and typescript projects.
Stars: ✭ 75 (+1.35%)
Mutual labels:  template-project
MonolithicArchitecture
This repository presents an approach on how to build an application using Monolithic architecture, ASP.NET Core, EntityFrameworkCore, Identity Server, CQRS, DDD
Stars: ✭ 18 (-75.68%)
Mutual labels:  project-template
talkshow
A Call 4 Papers System - A simple base app as example of Flask Architecture
Stars: ✭ 56 (-24.32%)
Mutual labels:  cookiecutter
nodejs-starter-template
You can use this template when you're starting a new project by using Node.js, Express, and Mongoose. It contains general concepts, you can customize it according to your needs.
Stars: ✭ 54 (-27.03%)
Mutual labels:  template-project
opencart-project-template
OpenCart Project Template
Stars: ✭ 16 (-78.38%)
Mutual labels:  project-template
template-python
Template repository for Python projects
Stars: ✭ 20 (-72.97%)
Mutual labels:  template-project
go-todo-backend
Go Todo Backend example using modular project layout for product microservice.
Stars: ✭ 177 (+139.19%)
Mutual labels:  project-template
cookiecutter-qt-app
A cookiecutter to create Qt applications, with translations and packaging
Stars: ✭ 29 (-60.81%)
Mutual labels:  cookiecutter
fastapi-tortoise
The template for building scalable web APIs based on FastAPI, Tortoise ORM and other.
Stars: ✭ 95 (+28.38%)
Mutual labels:  project-template
WebApiStartTemplate
Web API Visual Studio Template.
Stars: ✭ 15 (-79.73%)
Mutual labels:  template-project
ampjucks
Boilerplate and base project to create static websites with AMP, Nunjucks and Gulp
Stars: ✭ 18 (-75.68%)
Mutual labels:  template-project

Flask Project Template

A full feature Flask project template.

See also

HOW TO USE THIS TEMPLATE

DO NOT FORK this is meant to be used from Use this template feature.

  1. Click on Use this template
  2. Give a name to your project
    (e.g. my_awesome_project recommendation is to use all lowercase and underscores separation for repo names.)
  3. Wait until the first run of CI finishes
    (Github Actions will process the template and commit to your new repo)
  4. If you want codecov Reports and Automatic Release to PyPI
    On the new repository settings->secrets add your PIPY_API_TOKEN and CODECOV_TOKEN (get the tokens on respective websites)
  5. Read the file CONTRIBUTING.md
  6. Then clone your new project and happy coding!

NOTE: WAIT until first CI run on github actions before cloning your new project.

What is included on this template?

  • 🍾 A full feature Flask application with CLI, API, Admin interface, web UI and modular configuration.
  • 📦 A basic setup.py file to provide installation, packaging and distribution for your project.
    Template uses setuptools because it's the de-facto standard for Python packages, you can run make switch-to-poetry later if you want.
  • 🤖 A Makefile with the most useful commands to install, test, lint, format and release your project.
  • 📃 Documentation structure using mkdocs
  • 💬 Auto generation of change log using gitchangelog to keep a HISTORY.md file automatically based on your commit history on every release.
  • 🐋 A simple Containerfile to build a container image for your project.
    Containerfile is a more open standard for building container images than Dockerfile, you can use buildah or docker with this file.
  • 🧪 Testing structure using pytest
  • Code linting using flake8
  • 📊 Code coverage reports using codecov
  • 🛳️ Automatic release to PyPI using twine and github actions.
  • 🎯 Entry points to execute your program using python -m <project_name> or $ project_name with basic CLI argument parsing.
  • 🔄 Continuous integration using Github Actions with jobs to lint, test and release your project on Linux, Mac and Windows environments.

Curious about architectural decisions on this template? read ABOUT_THIS_TEMPLATE.md
If you want to contribute to this template please open an issue or fork and send a PULL REQUEST.


project_name Flask Application

project_description

Installation

From source:

git clone https://github.com/author_name/project_urlname project_name
cd project_name
make install

From pypi:

pip install project_name

Executing

This application has a CLI interface that extends the Flask CLI.

Just run:

$ project_name

or

$ python -m project_name

To see the help message and usage instructions.

First run

project_name create-db   # run once
project_name populate-db  # run once (optional)
project_name add-user -u admin -p 1234  # ads a user
project_name run

Go to:

Note: You can also use flask run to run the application.

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].