{"id":23703270,"url":"https://github.com/ddrm86/cat_facts_api","last_synced_at":"2026-05-07T07:39:40.860Z","repository":{"id":268891817,"uuid":"905732271","full_name":"ddrm86/cat_facts_api","owner":"ddrm86","description":"This project is a simple FastAPI application that provides an API for managing cat facts.  Made following the official FastAPI tutorial.","archived":false,"fork":false,"pushed_at":"2024-12-19T13:56:58.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-30T13:01:40.602Z","etag":null,"topics":["fastapi","sqlite3","sqlmodel","uuidv4"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ddrm86.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":"2024-12-19T12:14:21.000Z","updated_at":"2024-12-19T13:57:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a8a14fa-197d-462c-9993-d64e21ede1e2","html_url":"https://github.com/ddrm86/cat_facts_api","commit_stats":null,"previous_names":["ddrm86/cat_facts_api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddrm86%2Fcat_facts_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddrm86%2Fcat_facts_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddrm86%2Fcat_facts_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddrm86%2Fcat_facts_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddrm86","download_url":"https://codeload.github.com/ddrm86/cat_facts_api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239780144,"owners_count":19695735,"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":["fastapi","sqlite3","sqlmodel","uuidv4"],"created_at":"2024-12-30T13:00:52.947Z","updated_at":"2026-01-31T04:30:16.039Z","avatar_url":"https://github.com/ddrm86.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cat Facts API\n\nThis project is a simple FastAPI application that provides an API for managing cat facts. \nMade following the official FastAPI tutorial.\n\n## Features\n\n- Create, read, update, and delete cat facts\n- UUID generation for cat fact IDs\n- Local SQLite database for data storage\n\n## Requirements\n\n- Python 3.10+\n- FastAPI\n- SQLModel\n\n## Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/ddrm86/cat-facts-api.git\n    cd cat-facts-api\n    ```\n\n2. Create a virtual environment and activate it:\n    ```sh\n    python -m venv .venv\n    source .venv/bin/activate  # On Windows use `.venv\\Scripts\\activate.bat`\n    ```\n\n3. Install the dependencies:\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\n1. Start the FastAPI server:\n    ```sh\n    fastapi run main.py  # use fastapi dev main.py for development\n    ```\n\n2. Open your browser and navigate to `http://127.0.0.1:8000/docs` to access the interactive API documentation.\n\n## Endpoints\n\n- `POST /cat_facts/`: Create a new cat fact\n- `GET /cat_facts/`: Get a list of all cat facts\n- `GET /cat_facts/{cat_fact_id}`: Get a specific cat fact by ID\n- `PATCH /cat_facts/{cat_fact_id}`: Update a specific cat fact by ID\n- `DELETE /cat_facts/{cat_fact_id}`: Delete a specific cat fact by ID\n\n## License\n\nThis project is licensed under the GPLv3 License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddrm86%2Fcat_facts_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddrm86%2Fcat_facts_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddrm86%2Fcat_facts_api/lists"}