{"id":24468509,"url":"https://github.com/humangenerated/fuudiy-backend","last_synced_at":"2025-10-09T07:06:13.964Z","repository":{"id":276478453,"uuid":"923226745","full_name":"HumanGenerated/Fuudiy-Backend","owner":"HumanGenerated","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-26T21:18:36.000Z","size":272,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T14:48:47.895Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/HumanGenerated.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-01-27T21:12:34.000Z","updated_at":"2025-06-22T14:56:30.000Z","dependencies_parsed_at":"2025-02-23T14:29:45.577Z","dependency_job_id":"695f717f-3020-4789-a0f5-937ef9ee9c00","html_url":"https://github.com/HumanGenerated/Fuudiy-Backend","commit_stats":null,"previous_names":["humangenerated/fuudiy-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HumanGenerated/Fuudiy-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanGenerated%2FFuudiy-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanGenerated%2FFuudiy-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanGenerated%2FFuudiy-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanGenerated%2FFuudiy-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HumanGenerated","download_url":"https://codeload.github.com/HumanGenerated/Fuudiy-Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanGenerated%2FFuudiy-Backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000984,"owners_count":26082971,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["backend","fastapi","machine-learning","mongodb","python","spark"],"created_at":"2025-01-21T07:11:50.922Z","updated_at":"2025-10-09T07:06:13.951Z","avatar_url":"https://github.com/HumanGenerated.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fuudiy Backend\n\nThis is the backend service for the Fuudiy application, built with FastAPI and MongoDB.\n\n## Features\n\n- RESTful API built with FastAPI\n- MongoDB database integration\n- Google Cloud Storage for file storage\n- JWT-based authentication\n- PySpark integration for data processing\n- Docker containerization support\n\n## Prerequisites\n\n- Python 3.9+\n- MongoDB\n- Google Cloud Storage account (for file storage)\n- Java 11 (required for PySpark)\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone [repository-url]\ncd Fuudiy-Backend\n```\n\n2. Create and activate a virtual environment:\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\n```\n\n3. Install dependencies:\n```bash\npip install -r requirements.txt\n```\n\n4. Set up environment variables:\nCreate a `.env` file in the root directory with the following variables:\n```\nMONGODB_URL=your_mongodb_url\nJWT_SECRET=your_jwt_secret\nGCS_BUCKET_NAME=your_gcs_bucket_name\n```\n\n5. Place your Google Cloud Storage key file (`gcs-key.json`) in the root directory.\n\n## Running the Application\n\n### Development Mode\n\n```bash\nuvicorn app.app:app --reload\n```\n\nThe API will be available at `http://localhost:8000`\n\n### Using Docker\n\n1. Build the Docker image:\n```bash\ndocker build -t fuudiy-backend .\n```\n\n2. Run the container:\n```bash\ndocker run -p 8000:8000 fuudiy-backend\n```\n\n## API Documentation\n\nOnce the server is running, you can access:\n- Swagger UI documentation: `http://localhost:8000/docs`\n- ReDoc documentation: `http://localhost:8000/redoc`\n\n## Testing\n\nRun tests using pytest:\n```bash\npytest\n```\n\n## Project Structure\n\n```\nFuudiy-Backend/\n├── app/                 # Main application code\n├── tests/              # Test files\n├── requirements.txt    # Python dependencies\n├── Dockerfile         # Docker configuration\n├── .dockerignore      # Docker ignore file\n├── .gitignore         # Git ignore file\n└── gcs-key.json       # Google Cloud Storage credentials\n```\n\n## Dependencies\n\nKey dependencies include:\n- FastAPI: Web framework\n- Motor: Async MongoDB driver\n- PySpark: Data processing\n- Google Cloud Storage: File storage\n- PyJWT: JWT authentication\n- Pydantic: Data validation\n- Uvicorn: ASGI server\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Commit your changes\n4. Push to the branch\n5. Create a Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumangenerated%2Ffuudiy-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumangenerated%2Ffuudiy-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumangenerated%2Ffuudiy-backend/lists"}