Skip to main content

Library for initializing FastAPI project structure - create-app-fastapi

Project description

create-app-fastapi

A simple CLI tool for generating FastAPI projects with a predefined structure, including APIs, database setup, models, schemas, and configuration files, enabling a quick start to development.

Installation

To install this package, use the following command:

pip install create-app-fastapi

Usage

After installation, create a new FastAPI project by running:

create-app-fastapi project-name

Navigate to the project directory

cd project-name

Start the development server

fastapi dev main.py

Your FastAPI is now up and running on port 8000! 🚀

Output

The generated project will have the following structure:

root-folder/
|- APIs/
|  |- __init__.py
|  |- api.py
|- models/
|  |- __init__.py
|  |- model.py
|- schemas/
|  |- __init__.py
|  |- schema.py
|- settings/
|  |- __init__.py
|  |- auth.py
|  |- config.py
|  |- db.py
|- testcase/
|  |- __init__.py
|  |- test_main.py
|- venv/
|-.gitignore
|- main.py
|- requirements.txt

Features

  • Predefined project structure for FastAPI applications.

  • Includes APIs, models, schemas, and settings files.

  • Ready-to-use database connection file (db.py).

  • Simplifies setting up new FastAPI projects.

    ------- Happy Coding! 🎉 --------

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

create_app_fastapi-0.1.5-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file create_app_fastapi-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for create_app_fastapi-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7793d6b5dfaed651e46325d52f5bc089cb489d3311f2de2cb54741b888819cc5
MD5 8d1d053e3a50faf5e37fe70affc7f2a5
BLAKE2b-256 9246a59f518c9c8385ff20d9f3db5cefd9aed1a4c277a8f3f32a4aa7effec288

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page