Skip to content

YuheshPandian/Flask-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Boilerplate

Overview

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.

Features

  • Simple and clean folder structure
  • Pre-configured Flask setup
  • Basic routing and templates
  • Lightweight and easy to customize
  • custom error pages

Installation

Prerequisites

Ensure you have the following installed:

  • Python 3.x
  • pip (Python package manager)

Steps to Run the Project

  1. Clone the Repository

    git clone https://github.com/YuheshPandian/flask-boilerplate.git
    cd flask-boilerplate
  2. Create a Virtual Environment (Optional but Recommended)

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install Dependencies

    pip install -r requirements.txt
  4. Run the Flask App

    python app.py

    The application should now be running on http://127.0.0.1:5000/

Project Structure

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

Contributing

Feel free to fork the repository and submit pull requests. Contributions are always welcome!

License

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

About

A compact and modern Flask Boilerplate that kickstarts you next Flask Unicorn

Resources

Stars

Watchers

Forks

Packages

No packages published