Skip to content

Latest commit

History

History
49 lines (31 loc) 路 998 Bytes

README.md

File metadata and controls

49 lines (31 loc) 路 998 Bytes

Flask template

This repository is a template for a simple flask project. It does not use much blueprint by default because it wants to be light and fast.

This project allows you to deploy the application directly to a WSGI server (for example) The main.py file allows you to deploy on a serverless service such as Google Cloud Functions, Azure Functions or Amazon Lambda.

Get started 馃帀

Clone this project

git clone https://github.com/av1m/flask-template.git

Install the dependencies

make install

Run the app

make run

To begin, edit the file main.py

Test

You can write tests in the directory tests

In order to test your code, you can run the following command

make test

Format

The code is formatted using black and isort.

To format the code, run the following command

make format