{"id":23969739,"url":"https://github.com/ftoucch/fast-api-starter-template","last_synced_at":"2026-05-05T14:05:31.889Z","repository":{"id":271148291,"uuid":"912522197","full_name":"ftoucch/Fast-API-Starter-Template","owner":"ftoucch","description":"A simple light weight fast api starter template","archived":false,"fork":false,"pushed_at":"2025-02-23T19:40:47.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T20:30:48.902Z","etag":null,"topics":["alembic","boilerplate-template","fastapi","fastapi-boilerplate","fastapi-crud","fastapi-template","openapi","postgresql","python","rest-api","sqlalchemy","starter-kit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ftoucch.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":"2025-01-05T20:01:44.000Z","updated_at":"2025-02-23T19:40:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"d16b12e9-3055-412d-9984-9c7811027fb1","html_url":"https://github.com/ftoucch/Fast-API-Starter-Template","commit_stats":null,"previous_names":["ftoucch/fast-api-starter-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ftoucch/Fast-API-Starter-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftoucch%2FFast-API-Starter-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftoucch%2FFast-API-Starter-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftoucch%2FFast-API-Starter-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftoucch%2FFast-API-Starter-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ftoucch","download_url":"https://codeload.github.com/ftoucch/Fast-API-Starter-Template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftoucch%2FFast-API-Starter-Template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281248541,"owners_count":26468575,"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","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["alembic","boilerplate-template","fastapi","fastapi-boilerplate","fastapi-crud","fastapi-template","openapi","postgresql","python","rest-api","sqlalchemy","starter-kit"],"created_at":"2025-01-07T01:53:27.322Z","updated_at":"2025-10-27T09:49:53.216Z","avatar_url":"https://github.com/ftoucch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastAPI Starter Template 🚀  \n\nA ready-to-use **FastAPI starter project** with PostgreSQL integration, database migrations, and essential configurations to jumpstart your next web application.  \n---\n\n## ✨ Features  \n- **PostgreSQL Database Integration** with SQLAlchemy.  \n- **Automatic Superuser Creation** on setup.  \n- **Database Migrations** using Alembic.  \n- **CORS Middleware** for handling cross-origin requests.  \n- Predefined **Users** and **Items** models and endpoints.  \n- Interactive **API Documentation** at `/docs`.  \n\n---\n\n## 📋 Requirements  \n- **Python 3.9+**  \n- **PostgreSQL**  \n\n---\n\n## 🚀 Installation  \n\nFollow these steps to set up and run the project:  \n\n### 1. Clone the Repository  \n```bash\ngit clone https://github.com/ftoucch/Fast-API-Starter-Template.git\ncd Fast-API-Starter-Template\n```\n\n### 2. Create a Virtual Environment  \n```bash\npython -m venv venv  \nsource venv/bin/activate \n```\n# For Windows: \n```bash\nvenv\\Scripts\\activate\n```\n\n### 3. Install Dependencies  \n```bash\npip install -r requirements.txt\n```\n\n### 4. Set Up `.env`  \nRename `env-example` to `.env` and update it with your database credentials and other configurations.  \n\n### 5. Alembic Migrations  \nRun the following commands to set up and apply the database migrations: \n\n```bash\nalembic upgrade head  \n```\n\n### 6. Start the Application  \nRun the FastAPI app with:  \n```bash\nuvicorn app.main:app --reload\n```\n\n\n## 🛠 Endpoints  \n\n### Users  \n- **GET** `/api/v1/users`  \n\n### Items  \n- **GET** `/api/v1/items`  \n\n---\n\n## 📚 API Documentation  \nInteractive API documentation is available at [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs).  \n\n---\n\n## 💡 Why Use This Starter Template?  \nThis starter template is perfect for:  \n- Developers looking for a quick setup to build a **FastAPI** application.  \n- Seamless integration with **PostgreSQL** and **SQLAlchemy**.  \n- Easy database schema migrations with **Alembic**.  \n- A clean and modular project structure for efficient API development.  \n\n---\n\nHappy coding! 🎉  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fftoucch%2Ffast-api-starter-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fftoucch%2Ffast-api-starter-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fftoucch%2Ffast-api-starter-template/lists"}