0.0.9 • Published 8 months ago

create-flask v0.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

create-flask

šŸš€ A modern CLI tool to scaffold Flask applications with different templates and configurations.

Features

  • šŸŽÆ Quick Setup: Create a new Flask project in seconds
  • šŸ“¦ Multiple Templates: Choose from various pre-configured templates:
    • Basic Templates:
      • basic-minimal: A lightweight Flask setup for simple applications
      • basic-sqlalchemy: Flask + SQLAlchemy setup with user model and authentication
    • API Templates:
      • api-minimal: Basic REST API setup
      • api-rest: Complete REST API with authentication and documentation

Installation

npx create-flask@latest

Usage

  1. Run the create command:
npx create-flask@latest my-flask-app
  1. Select your preferred template when prompted

  2. Follow the setup instructions in your new project directory

Available Templates

Basic Templates

basic-minimal

  • Minimal Flask configuration
  • Environment variables support
  • Basic HTML templates
  • Development ready configuration

basic-sqlalchemy

  • SQLAlchemy ORM integration
  • User model implementation
  • Modular application structure
  • Database seeders
  • Template inheritance with base layout

API Templates

api-minimal

  • Basic API structure
  • JSON response handling
  • Error handling middleware

api-rest

  • Complete REST API setup
  • Authentication system
  • API documentation
  • Database integration

Project Structure

Each template follows Flask best practices and includes:

  • Environment configuration
  • Proper project structuring
  • Required dependencies in requirements.txt
  • Ready-to-use development setup

Contributing

Contributions are welcome! Feel free to:

  • Add new templates
  • Improve existing templates
  • Report bugs
  • Suggest enhancements

License

MIT License

0.0.9

8 months ago

0.0.8

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago