{"id":20898326,"url":"https://github.com/mmncit/fast-posts","last_synced_at":"2026-04-29T23:32:29.771Z","repository":{"id":87444292,"uuid":"597996109","full_name":"mmncit/fast-posts","owner":"mmncit","description":"Backend for Post Management System (Minimal using FastAPI, SQLAlchemy, PostgresDB, Alembic) ","archived":false,"fork":false,"pushed_at":"2023-08-16T15:02:23.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-30T07:29:42.320Z","etag":null,"topics":["alembic","backend-api","fastapi","postgres","python","sqlalchemy-orm"],"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/mmncit.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-06T07:01:34.000Z","updated_at":"2023-04-08T06:12:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8f7494f-01ac-4be6-8158-a611b3aa69fc","html_url":"https://github.com/mmncit/fast-posts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mmncit/fast-posts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmncit%2Ffast-posts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmncit%2Ffast-posts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmncit%2Ffast-posts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmncit%2Ffast-posts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmncit","download_url":"https://codeload.github.com/mmncit/fast-posts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmncit%2Ffast-posts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","backend-api","fastapi","postgres","python","sqlalchemy-orm"],"created_at":"2024-11-18T11:10:07.100Z","updated_at":"2026-04-29T23:32:29.743Z","avatar_url":"https://github.com/mmncit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fast-posts\n\nMinimal Post Management System using FastAPI, SQLAlchemy, PostgresDB\n\n## Local Setup:\n\n1.0. Create a virtual environment (optional)\n\n```\npython3 -m venv venv\n```\n\n- Update python interpreter to venv\n\n- Activate venv for command line\n\n```\nsource venv/bin/activate\n```\n\n1.1. Go inside api directory\n\n```\ncd api\n```\n\n2. Install python packages\n\n```\nmake install\n```\n\n3. Create .env file containing credentials:\n\n```\n# for database connection\nexport DATABASE=\u003cdatabase name\u003e\nexport DB_USER=\u003cdatabase username\u003e\nexport DB_HOST=\u003chostname, e.g. localhost\u003e\nexport DB_PASSWORD=\u003cdatabase password\u003e\nexport DB_URL=\u003cdatabase url\u003e\n\n# for jwt\nexport SECRET_KEY=\u003csecret pass\u003e\nexport ALGORITHM=\u003chashing algorithm\u003e\nexport ACCESS_TOKEN_EXPIRE_MINUTES=\u003ctime to expire access token\u003e\n\n```\n\nApply environment variables\n\n```\n\nsource .env\n\n```\n\n4. Finally, run command using `make`\n\nIf `make` is not installed. Then\n\n```\nbrew install make\n```\n\nRun the server implemented with raw SQL with:\n\n```\nmake run-sql\n\n```\n\nRun the server implemented with Object Relational Mapper (ORM) SQLAlchemy with:\n\n```\n\nmake run-orm\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmncit%2Ffast-posts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmncit%2Ffast-posts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmncit%2Ffast-posts/lists"}