{"id":29274026,"url":"https://github.com/ehtisham-sadiq/social-content-api","last_synced_at":"2026-05-16T22:36:25.230Z","repository":{"id":294573892,"uuid":"987409068","full_name":"ehtisham-sadiq/social-content-api","owner":"ehtisham-sadiq","description":"API for the Linkedin-CMS project, a modern LinkedIn content management and scheduling platform.","archived":false,"fork":false,"pushed_at":"2025-05-21T03:24:32.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-05T04:06:23.217Z","etag":null,"topics":["alembic","apidog","fastapi","jwt-authentication","pos","sqlalchemy"],"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/ehtisham-sadiq.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,"zenodo":null}},"created_at":"2025-05-21T03:19:15.000Z","updated_at":"2025-06-14T12:54:48.000Z","dependencies_parsed_at":"2025-05-22T08:45:19.625Z","dependency_job_id":null,"html_url":"https://github.com/ehtisham-sadiq/social-content-api","commit_stats":null,"previous_names":["ehtisham-sadiq/social-content-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ehtisham-sadiq/social-content-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehtisham-sadiq%2Fsocial-content-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehtisham-sadiq%2Fsocial-content-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehtisham-sadiq%2Fsocial-content-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehtisham-sadiq%2Fsocial-content-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehtisham-sadiq","download_url":"https://codeload.github.com/ehtisham-sadiq/social-content-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehtisham-sadiq%2Fsocial-content-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33121363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"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","apidog","fastapi","jwt-authentication","pos","sqlalchemy"],"created_at":"2025-07-05T03:39:42.445Z","updated_at":"2026-05-16T22:36:25.225Z","avatar_url":"https://github.com/ehtisham-sadiq.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# social-content-api (Linkedin-CMS Backend)\n\nThis is the backend API for the Linkedin-CMS project, a modern LinkedIn content management and scheduling platform. Built with FastAPI, SQLAlchemy, Alembic, and PostgreSQL.\n\n## Features\n- User authentication (JWT)\n- LinkedIn OAuth integration\n- Post creation, editing, scheduling, and analytics\n- Bulk upload and scheduling\n- Template management\n- Redis caching and rate limiting\n- RESTful API with OpenAPI docs\n\n## Getting Started\n\n### Prerequisites\n- Python 3.10+\n- PostgreSQL\n- (Optional) Redis for caching/rate limiting\n\n### Installation\n\n1. Install dependencies:\n   ```sh\n   pip install -r requirements.txt\n   ```\n\n2. Set up your `.env` file in the `backend` directory (see below for required variables).\n\n3. Run Alembic migrations to set up the database:\n   ```sh\n   alembic upgrade head\n   ```\n\n4. Start the FastAPI server:\n   ```sh\n   uvicorn main:app --reload\n   ```\n\n5. Open [http://localhost:8000/docs](http://localhost:8000/docs) for API documentation.\n\n## Environment Variables\nCreate a `.env` file in the backend directory with the following variables:\n\n```\nDATABASE_URL=postgresql://postgres:postgres@localhost/linkedin_content_manager\nSECRET_KEY=your_secret_key\nCORS_ORIGINS=http://localhost:3000\nLINKEDIN_CLIENT_ID=your_linkedin_client_id\nLINKEDIN_CLIENT_SECRET=your_linkedin_client_secret\nLINKEDIN_REDIRECT_URI=http://localhost:8000/api/linkedin/callback\nREDIS_URL=redis://localhost:6379/0\nREDIS_ENABLED=False\n```\n\n## Project Structure\n- `app/` - Main FastAPI app, routers, models, schemas, logic\n- `alembic/` - Database migrations\n- `middleware/` - Custom middleware (rate limiting, logging)\n- `requirements.txt` - Python dependencies\n\n## Running with Docker\nYou can use the provided `docker-compose.yml` for local development:\n\n```sh\ndocker-compose up --build\n```\n\n## License\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehtisham-sadiq%2Fsocial-content-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehtisham-sadiq%2Fsocial-content-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehtisham-sadiq%2Fsocial-content-api/lists"}