Flask boilerplate using the application factory with basic authentication.
git clone https://github.com/onosendi/flask-boilerplate.git
cd flask-boilerplate
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
flask db upgrade
npm install
npm run build
npm start
If you are running npm start
for development, run Flask in a separate terminal so both servers are running.
flask run
Now visit localhost:5000
in your browser.