{"id":30586057,"url":"https://github.com/sachingupta0019/fastapi-instagram","last_synced_at":"2026-05-07T15:36:49.099Z","repository":{"id":311823991,"uuid":"1045208165","full_name":"sachingupta0019/fastapi-instagram","owner":"sachingupta0019","description":"Instagram Clone App","archived":false,"fork":false,"pushed_at":"2025-09-10T22:11:14.000Z","size":3157,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-20T19:27:13.689Z","etag":null,"topics":["fastapi","fastapi-crud","fastapi-docker","fastapi-framework","fastapi-sqlalchemy","fastapi-users","jwt","jwt-authentication","oauth2","postgresql","sqlalchemy-orm"],"latest_commit_sha":null,"homepage":"https://fastapi-instagram.vercel.app","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/sachingupta0019.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-26T20:13:34.000Z","updated_at":"2025-09-10T22:10:45.000Z","dependencies_parsed_at":"2025-08-27T04:57:19.055Z","dependency_job_id":"074c234a-c910-41f5-891b-382fd32b0f69","html_url":"https://github.com/sachingupta0019/fastapi-instagram","commit_stats":null,"previous_names":["sachingupta0019/fastapi-instagram"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/sachingupta0019/fastapi-instagram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachingupta0019%2Ffastapi-instagram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachingupta0019%2Ffastapi-instagram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachingupta0019%2Ffastapi-instagram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachingupta0019%2Ffastapi-instagram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sachingupta0019","download_url":"https://codeload.github.com/sachingupta0019/fastapi-instagram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sachingupta0019%2Ffastapi-instagram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32744090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["fastapi","fastapi-crud","fastapi-docker","fastapi-framework","fastapi-sqlalchemy","fastapi-users","jwt","jwt-authentication","oauth2","postgresql","sqlalchemy-orm"],"created_at":"2025-08-29T11:19:38.050Z","updated_at":"2026-05-07T15:36:49.068Z","avatar_url":"https://github.com/sachingupta0019.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 📸 FastAPI Instagram Clone API\n\nA backend API built with **FastAPI** that mimics Instagram’s core features such as authentication, posting images, liking, and commenting.\n\n---\n\n## 🚀 Features\n\n* User authentication \u0026 authorization (JWT-based)\n* Create, update, and delete posts\n* Add Post title, description, caption, Images\n* Like \u0026 comment on posts\n* SQLite database (default, via `instagram_api.db`)\n* Organized project structure (auth, database, routes, schema)\n* Automatic API docs with **Swagger** \u0026 **ReDoc**\n\n---\n\n## 📂 Project Structure\n\n```bash\nInstagram_Clone/\n│── Instagram/\n│   ├── auth/             # Authentication logic\n│   ├── database/         # Database connection/config\n│   ├── images/           # Uploaded images\n│   ├── routes/           # API routes (users, posts, comments, etc.)\n│   ├── schema/           # Pydantic schemas\n│   ├── instagram_api.db  # SQLite database\n│   ├── main.py           # Application entry point\n│   └── requirements.txt  # Dependencies for this app\n│\n├── instagram_env/        # Virtual environment (ignored in git)\n├── react_app/            # Frontend (React project)\n├── .gitignore\n└── requirements.txt      # Root dependencies\n```\n\n---\n\n## ⚙️ Installation \u0026 Setup\n\n### 1️⃣ Clone the repository\n\n```bash\ngit clone https://github.com/your-username/fastapi-instagram-clone.git\ncd FastAPI/Instagram_Clone\n```\n\n### 2️⃣ Create \u0026 activate virtual environment\n\n```bash\n# Create virtual environment\npython -m venv instagram_env\n\n# Activate venv (Windows)\ninstagram_env\\Scripts\\activate\n\n# Activate venv (Mac/Linux)\nsource instagram_env/bin/activate\n```\n\n### 3️⃣ Install dependencies\n\n```bash\npip install -r Instagram/requirements.txt\n```\n\n### 4️⃣ Run the application\n\n```bash\nuvicorn Instagram.main:app --reload\n```\n\nServer will start at 👉 **[http://127.0.0.1:8000](http://127.0.0.1:8000)**\n\n---\n\n## 📑 API Documentation\n\n* Swagger UI → [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)\n* ReDoc → [http://127.0.0.1:8000/redoc](http://127.0.0.1:8000/redoc)\n\n---\n\n## 🛠️ Environment Variables\n\nCreate a `.env` file in the root or configure inside `main.py`:\n\n```ini\nDATABASE_URL=sqlite:///./Instagram/instagram_api.db\nSECRET_KEY=your_secret_key\nALGORITHM=HS256\nACCESS_TOKEN_EXPIRE_MINUTES=30\n```\n\n---\n\n## 🎯 Future Enhancements\n\n* Switch to PostgreSQL for production\n* Add image storage in AWS S3 / Cloudinary\n* Implement notifications \u0026 stories\n* Dockerize the application\n\n---\n\n✅ Now you can run your **Instagram Clone API** locally with just a few commands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachingupta0019%2Ffastapi-instagram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsachingupta0019%2Ffastapi-instagram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachingupta0019%2Ffastapi-instagram/lists"}