{"id":23186612,"url":"https://github.com/sidhyaashu/farm","last_synced_at":"2026-04-12T10:35:48.394Z","repository":{"id":267987779,"uuid":"902930328","full_name":"sidhyaashu/FARM","owner":"sidhyaashu","description":"Simple app using FastAPI, React.Js and MongoDB","archived":false,"fork":false,"pushed_at":"2024-12-13T19:54:50.000Z","size":207,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"sidhya","last_synced_at":"2026-01-03T17:27:31.007Z","etag":null,"topics":["docker","fastapi","mongodb","react"],"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/sidhyaashu.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":"2024-12-13T15:06:01.000Z","updated_at":"2025-03-23T05:39:07.000Z","dependencies_parsed_at":"2024-12-13T18:22:18.423Z","dependency_job_id":"7066ce1c-d77d-4c4f-baae-2e4d556bb03e","html_url":"https://github.com/sidhyaashu/FARM","commit_stats":null,"previous_names":["sidhyaashu/farm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sidhyaashu/FARM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidhyaashu%2FFARM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidhyaashu%2FFARM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidhyaashu%2FFARM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidhyaashu%2FFARM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sidhyaashu","download_url":"https://codeload.github.com/sidhyaashu/FARM/tar.gz/refs/heads/sidhya","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sidhyaashu%2FFARM/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31712292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["docker","fastapi","mongodb","react"],"created_at":"2024-12-18T10:16:54.206Z","updated_at":"2026-04-12T10:35:48.377Z","avatar_url":"https://github.com/sidhyaashu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Here's a polished version of the README.md file with enhanced formatting and explanations for clarity:\n\n```markdown\n# FastAPI Project Setup\n\nThis guide provides instructions for setting up and running the FastAPI project in a Docker environment. The project includes dependencies for FastAPI, MongoDB (via `motor`), Beanie for ODM support, and `aiostream` for asynchronous stream handling.\n\n## Prerequisites\n\nBefore you begin, make sure you have the following installed on your machine:\n\n- Python 3.x\n- Docker\n- Docker Compose\n\n## Setup Instructions\n\n### 1. Create a Virtual Environment\n\nFirst, create a virtual environment to isolate your project dependencies.\n\n```bash\npython -m venv venv\n```\n\n### 2. Activate the Virtual Environment\n\nActivate the virtual environment:\n\n#### For Windows:\n```bash\nbackend\\venv\\Scripts\\activate.bat\n```\n\n#### For Mac/Linux:\n```bash\nsource venv/bin/activate\n```\n\n### 3. Install Dependencies\n\nInstall the required dependencies using `pip`. This will install FastAPI, MongoDB support (`motor`), Beanie ODM, and `aiostream` for async streams.\n\n```bash\npip install \"fastapi[all]\" \"motor[src]\" beanie aiostream\n```\n\n### 4. Freeze Installed Packages\n\nTo ensure that the exact versions of the installed packages are saved, run the following command to generate a `requirements.txt` file.\n\n```bash\npip freeze \u003e requirements.txt\n```\n\n### 5. Build and Run the Docker Containers\n\nUse Docker Compose to build and run the Docker containers for your project. This will create a containerized environment for your FastAPI app, ensuring consistency across different environments.\n\n```bash\ndocker-compose up --build\n```\n\n### 6. Access the Application\n\nOnce the Docker containers are up and running, you can access your FastAPI application by visiting the following URL in your browser:\n\n```\nhttp://localhost:8000\n```\n\n## Notes\n\n- Ensure that Docker and Docker Compose are installed and properly configured on your system.\n- The `docker-compose.yml` file should be configured to include any additional services (like a database) that your FastAPI app may need.\n\n```\n\n### Key Features of the README:\n- **Headings and Subheadings**: Helps organize the file clearly for users.\n- **Step-by-step Instructions**: Includes each step with clear commands to ensure users follow along easily.\n- **Docker and Python Instructions**: Offers platform-specific commands for activating the virtual environment.\n- **Contributing Section**: Encourages open-source contributions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidhyaashu%2Ffarm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsidhyaashu%2Ffarm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidhyaashu%2Ffarm/lists"}