This is a minimal yet powerful Flask boilerplate to kickstart your web applications. It provides a basic structure for developing and deploying Flask applications seamlessly.
- Simple and clean folder structure
- Pre-configured Flask setup
- Basic routing and templates
- Lightweight and easy to customize
- custom error pages
Ensure you have the following installed:
- Python 3.x
- pip (Python package manager)
-
Clone the Repository
git clone https://github.com/YuheshPandian/flask-boilerplate.git cd flask-boilerplate -
Create a Virtual Environment (Optional but Recommended)
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install Dependencies
pip install -r requirements.txt
-
Run the Flask App
python app.py
The application should now be running on
http://127.0.0.1:5000/
flask-boilerplate/
app/
│-- static/ # Static files (CSS, JS, images)
│-- templates/ # HTML templates
│-- config.py # Main Flask application configuration
|-- views.py # Contains all routes of the site
|-- __init__.py # Basic registrations and setup
README.md # Project documentation
run.py # helps to run the site from the terminal easily
errorlog.txt # registers the errors that occur when debug is set to false
requirements.txt # contains all dependencies for the project
Feel free to fork the repository and submit pull requests. Contributions are always welcome!
This project is licensed under the MIT License.
Note
The latest stable version is 0.0.2
Developed by YuheshPandian 🚀
Please give a ⭐ if you think this boilerplate helped you