Getting Started with Flaxon

Welcome to Flaxon! This guide will help you get started with building applications using the framework.

What You'll Learn
  • How to install Flaxon
  • How to create your first application
  • Core concepts and structure

Prerequisites

  • Python 3.11 or higher
  • pip (Python package manager)
  • Basic knowledge of Python and async/await

Installation

pip install flaxon

Your First Application

from flaxon import Flaxon

app = Flaxon("hello-world", debug=True)

@app.get("/")
async def home():
    return {"message": "Hello, World!"}

Run It

flaxon run app:app --reload
Next Steps

Check out the Quick Start guide for a more detailed walkthrough.