# **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:
```bash
pip install create-app-fastapi
```
### **Usage**
After installation, create a new FastAPI project by running:
```bash
create-app-fastapi project-name
```
Navigate to the project directory
```bash
cd project-name
```
Start the development server
```bash
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! 🎉 --------
Raw data
{
"_id": null,
"home_page": "https://github.com/ravishnu60/create-app-fastapi.git",
"name": "create-app-fastapi",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "create-app-fastapi, create, fastapi, fastapi project, project structure, api structure, python fastapi project structure",
"author": "Ravishnu",
"author_email": "ravishnu60@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ae/cb/f2d73a7e2abbb2ead83699b9b5560e031d81ba5de9e70f9995424c06f126/create_app_fastapi-0.1.6.tar.gz",
"platform": null,
"description": "# **create-app-fastapi** \n\nA 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.\n\n### **Installation**\nTo install this package, use the following command: \n```bash\npip install create-app-fastapi\n```\n\n### **Usage**\nAfter installation, create a new FastAPI project by running: \n```bash\ncreate-app-fastapi project-name\n```\nNavigate to the project directory\n```bash\ncd project-name\n```\nStart the development server\n```bash\nfastapi dev main.py\n```\nYour FastAPI is now up and running on port 8000! \ud83d\ude80\n\n### **Output**\nThe generated project will have the following structure:\n\n```\nroot-folder/\n|- APIs/\n| |- __init__.py\n| |- api.py\n|- models/\n| |- __init__.py\n| |- model.py\n|- schemas/\n| |- __init__.py\n| |- schema.py\n|- settings/\n| |- __init__.py\n| |- auth.py\n| |- config.py\n| |- db.py\n|- testcase/\n| |- __init__.py\n| |- test_main.py\n|- venv/\n|-.gitignore\n|- main.py\n|- requirements.txt\n```\n\n\n### Features\n\n* Predefined project structure for FastAPI applications.\n* Includes APIs, models, schemas, and settings files.\n* Ready-to-use database connection file (db.py).\n* Simplifies setting up new FastAPI projects.\n\n\n ------- Happy Coding! \ud83c\udf89 --------\n",
"bugtrack_url": null,
"license": null,
"summary": "Library for initializing FastAPI project structure - create-app-fastapi",
"version": "0.1.6",
"project_urls": {
"Homepage": "https://github.com/ravishnu60/create-app-fastapi.git"
},
"split_keywords": [
"create-app-fastapi",
" create",
" fastapi",
" fastapi project",
" project structure",
" api structure",
" python fastapi project structure"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "af75535700b91f5b7b547aaa8e22efaeee398505214efc003804e4a7f28b958a",
"md5": "7a8c255218720e7d559114c6672b3e19",
"sha256": "5a919996864acbe44d23d664b88c17dda4a7894486e5bbcd98fd90c6f60190b2"
},
"downloads": -1,
"filename": "create_app_fastapi-0.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7a8c255218720e7d559114c6672b3e19",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 6691,
"upload_time": "2025-01-09T11:30:27",
"upload_time_iso_8601": "2025-01-09T11:30:27.168710Z",
"url": "https://files.pythonhosted.org/packages/af/75/535700b91f5b7b547aaa8e22efaeee398505214efc003804e4a7f28b958a/create_app_fastapi-0.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "aecbf2d73a7e2abbb2ead83699b9b5560e031d81ba5de9e70f9995424c06f126",
"md5": "83975d0664b8f6a3486c6db37100460e",
"sha256": "e9e47daee3eba2db232300b85e423a9fd34f565902de1f49352decef334bfa41"
},
"downloads": -1,
"filename": "create_app_fastapi-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "83975d0664b8f6a3486c6db37100460e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 5947,
"upload_time": "2025-01-09T11:30:30",
"upload_time_iso_8601": "2025-01-09T11:30:30.017857Z",
"url": "https://files.pythonhosted.org/packages/ae/cb/f2d73a7e2abbb2ead83699b9b5560e031d81ba5de9e70f9995424c06f126/create_app_fastapi-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-09 11:30:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ravishnu60",
"github_project": "create-app-fastapi",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "create-app-fastapi"
}