{"id":27039733,"url":"https://github.com/al3rez/test-api","last_synced_at":"2025-04-05T03:18:36.802Z","repository":{"id":285536726,"uuid":"953883631","full_name":"al3rez/test-api","owner":"al3rez","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-24T09:11:12.000Z","size":11741,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T09:47:48.258Z","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/al3rez.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":"2025-03-24T08:29:30.000Z","updated_at":"2025-03-24T09:11:16.000Z","dependencies_parsed_at":"2025-04-01T09:58:01.993Z","dependency_job_id":null,"html_url":"https://github.com/al3rez/test-api","commit_stats":null,"previous_names":["al3rez/test-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al3rez%2Ftest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al3rez%2Ftest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al3rez%2Ftest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al3rez%2Ftest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/al3rez","download_url":"https://codeload.github.com/al3rez/test-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280544,"owners_count":20913015,"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","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":[],"created_at":"2025-04-05T03:18:36.303Z","updated_at":"2025-04-05T03:18:36.795Z","avatar_url":"https://github.com/al3rez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask API Project\n\nThis is a Flask-based API project generated using create-flask-vps-app.\n\n## Setup\n\n1. Create and activate a virtual environment:\n   ```bash\n   # On Windows\n   python -m venv venv\n   .\\venv\\Scripts\\activate\n\n   # On Unix/macOS\n   python -m venv venv\n   source venv/bin/activate\n   ```\n\n2. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Configure environment variables:\n   ```bash\n   cp .env.example .env\n   # Edit .env with your settings\n   ```\n\n## Development\n\nRun the development server:\n```bash\npython app/main.py\n```\n\nThe API will be available at http://localhost:8766\n\n## Deployment\n\nThis project includes Fabric deployment scripts and templates for Nginx and systemd.\n\n1. Configure your server details in `.env`\n\n2. Deploy using Fabric:\n   ```bash\n   fab setup\n   ```\n\n## API Endpoints\n\n- `GET /health`: Health check endpoint\n- `GET /`: Welcome message\n\n## Project Structure\n\n```\n.\n├── app/\n│   ├── __init__.py\n│   ├── cors.py      # CORS configuration\n│   ├── db.py        # Database configuration\n│   └── main.py      # Main application\n├── templates/       # Deployment templates\n│   ├── nginx_config.j2\n│   └── systemd_service.j2\n├── .env.example\n├── .gitignore\n├── fabfile.py\n├── README.md\n└── requirements.txt\n``` ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal3rez%2Ftest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fal3rez%2Ftest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal3rez%2Ftest-api/lists"}