{"id":14064800,"url":"https://github.com/shaharluftig/create-fastapi-app","last_synced_at":"2026-02-10T03:01:57.044Z","repository":{"id":182811609,"uuid":"669062106","full_name":"shaharluftig/create-fastapi-app","owner":"shaharluftig","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-24T17:33:21.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-25T20:03:07.064Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shaharluftig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-21T08:51:44.000Z","updated_at":"2024-06-02T10:06:25.785Z","dependencies_parsed_at":null,"dependency_job_id":"86a51723-bade-4e8f-940e-b328971fd9b6","html_url":"https://github.com/shaharluftig/create-fastapi-app","commit_stats":null,"previous_names":["shaharluftig/create-fastapi-app"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaharluftig%2Fcreate-fastapi-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaharluftig%2Fcreate-fastapi-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaharluftig%2Fcreate-fastapi-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaharluftig%2Fcreate-fastapi-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaharluftig","download_url":"https://codeload.github.com/shaharluftig/create-fastapi-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240486418,"owners_count":19809180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-13T07:04:05.347Z","updated_at":"2026-02-10T03:01:57.038Z","avatar_url":"https://github.com/shaharluftig.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Create FastAPI App\n\nCreate FastAPI App is a command-line tool that allows you to quickly set up a new FastAPI project with a predefined\ndirectory structure and configurations. Inspired by `create-react-app` for React projects, this tool aims to simplify\nthe initial setup process and get you up and running with FastAPI in no time.\n\n## Table of Contents\n\n- [Features](#features)\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Project Structure](#project-structure)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- **Rapid Setup**: Create a new FastAPI project effortlessly without worrying about the initial project structure and\n  configurations.\n- **Ready-to-Code**: Start coding your FastAPI application right away without spending time on boilerplate code.\n\n## Prerequisites\n\nBefore using Create FastAPI App, you need to have the following tools installed on your system:\n\n- Python (3.6 or higher)\n- Pip (Python package manager)\n\n## Installation\n\nYou can install Create FastAPI App using `pipx`. Open your terminal or command prompt and run the following command:\n* `pipx install create-fastapi`\n\n## Usage\n\nTo create a new FastAPI project, use the `create-fastapi-app` command followed by the desired project name:\n`my-fastapi-app`\n\n```bash\ncreate-fastapi-app my-fastapi-app\n```\n\nBy default, this will create a new FastAPI project in a directory named `my-fastapi-app`\n\nOnce the project is created, navigate to the project directory and start the development server:\n\n- `cd my-fastapi-app`\n- `python main.py`\n\n## Project structure\n\n- `app`: This directory contains the main application code.\n    - `main.py`: Defines the main FastAPI application, including routes and endpoints.\n    - `models`: Directory for data models and Pydantic schemas.\n    - `routes`: Directory for organizing different API routes.\n    - `utils`: Directory for utility functions and modules.\n\n- `tests`: Contains test files to verify the application's functionality.\n\n- `.env`: Environment variables file to store sensitive or configuration-specific data.\n\n- `.gitignore`: Specifies the files and directories to be ignored by version control (e.g., `.env`, `__pycache__/`,\n  etc.).\n\n- `requirements.txt`: Lists the project dependencies needed to run the FastAPI application.\n### Testing\n* `pytest .`\n\n### Linting\n* `ruff .`\n\n## Contributing\n\nContributions are welcome! If you find any issues with the tool or want to suggest enhancements, please create a GitHub\nissue or submit a pull request.\n\n## License\n\nCreate FastAPI App is open-source software licensed under the [MIT License](https://opensource.org/licenses/MIT).\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaharluftig%2Fcreate-fastapi-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaharluftig%2Fcreate-fastapi-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaharluftig%2Fcreate-fastapi-app/lists"}