Giter Club home page Giter Club logo

flask_boilerplate_background_tasks's Introduction

Boiler-plate for FLASK

Features

  • Bootstrap4
  • Bootswatch themes with switch to toggle between light and dark theme
  • Basic Authentication with user sign-up, login, password reset etc
  • LDAP support
  • Flask Migrate for migrations
  • Redis Queue, RQ Worker and RQ-Dashboard integrated
  • Email sent as background tasks using Redis Queue and RQ worker

Dependencies :-

Background task (password reset) is based on background tasks. This is implemented using Redis Queue and RQ worker. You need to run Redis Server and RQ worker as separate process to utilize this functionality. RQ-Dashboard is integrated into the app and can be accessed at 127.0.0.1:5000/rq

Setup

git clone https://github.com/sarbjit87/flask_boilerplate_background_tasks.git

pip install -r requirements.txt

export FLASK_APP=app

flask db init

flask db migrate

flask db upgrade

python3 run.py

Screenshot

Demo

DISCLAIMER

THE CODE IS BEING PROVIDED FOR INFORMATIONAL PURPOSES ONLY.

USE ON YOUR OWN RISK. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER OR CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES

THIS REPO IS RELEASED WITH NO WARRANTY AT ALL.

flask_boilerplate_background_tasks's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.