{"id":21911649,"url":"https://github.com/knightofcookies/fastapi","last_synced_at":"2026-05-11T04:39:28.035Z","repository":{"id":217263026,"uuid":"704934159","full_name":"knightofcookies/fastapi","owner":"knightofcookies","description":"Social media FastAPI clone","archived":false,"fork":false,"pushed_at":"2023-10-23T09:54:23.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T08:31:34.936Z","etag":null,"topics":["fastapi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knightofcookies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-10-14T14:51:49.000Z","updated_at":"2024-01-15T06:58:28.000Z","dependencies_parsed_at":"2024-01-15T10:18:33.208Z","dependency_job_id":"23c63e0c-cd7e-4b22-9ccc-3829b40ea733","html_url":"https://github.com/knightofcookies/fastapi","commit_stats":null,"previous_names":["knightofcookies/fastapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightofcookies%2Ffastapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightofcookies%2Ffastapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightofcookies%2Ffastapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightofcookies%2Ffastapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knightofcookies","download_url":"https://codeload.github.com/knightofcookies/fastapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244929313,"owners_count":20533750,"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"],"created_at":"2024-11-28T18:07:04.381Z","updated_at":"2026-05-11T04:39:22.985Z","avatar_url":"https://github.com/knightofcookies.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fastapi\n\nAPI for a social media app built with FastAPI.\n\nThis project follows the FastAPI tutorial by Sanjeev Thiyagarajan available on the freeCodeCamp YouTube channel [here](https://www.youtube.com/watch?v=0sOvCWFmrtA).\n\nSanjeev's repository: \u003chttps://github.com/Sanjeev-Thiyagarajan/fastapi-course\u003e\n\n## Details\n\n- This API uses a `PostgreSQL` database with `Alembic` and `SQLAlchemy`.\n- There are four routes: `posts`, `users`, `auth` and `vote` \n\n\n## Requirements\n- `Python 3.11`\n- Packages in `requirements.txt`\n\n## Usage\nTo reload every time you save changes, use\n```commandline\nuvicorn app.main:app --reload\n```\nI've noticed this breaks more often, especially if you use Auto Save on your IDE.\n\nTo reload manually, use\n```commandline\nuvicorm app.main:app\n```\n\nTo use this API with a PostgreSQL database, include the following information in a `.env` file in the root directory of the project.\n\n```env\nDATABASE_HOSTNAME = localhost\nDATABASE_PORT = 5432\nDATABASE_PASSWORD = passward_that_you_set\nDATABASE_NAME = name_of_database\nDATABASE_USERNAME = User_name\nSECRET_KEY = 09d25e094faa2556c818166b7a99f6f0f4c3b88e8d3e7 \nALGORITHM = HS256\nACCESS_TOKEN_EXPIRE_MINUTES = 60(base)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknightofcookies%2Ffastapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknightofcookies%2Ffastapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknightofcookies%2Ffastapi/lists"}