{"id":28345204,"url":"https://github.com/zagrosjawar/flask-book-api","last_synced_at":"2026-04-15T13:32:27.043Z","repository":{"id":294317706,"uuid":"986590495","full_name":"zagrosjawar/flask-book-api","owner":"zagrosjawar","description":"A Dockerized Flask REST API with frontend for managing a book catalog","archived":false,"fork":false,"pushed_at":"2025-05-19T21:03:35.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T02:33:24.013Z","etag":null,"topics":["api","crud","flask","html","js","python"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/zagrosjawar.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-19T20:51:51.000Z","updated_at":"2025-05-19T21:05:16.000Z","dependencies_parsed_at":"2025-05-20T02:15:30.813Z","dependency_job_id":null,"html_url":"https://github.com/zagrosjawar/flask-book-api","commit_stats":null,"previous_names":["zagrosjawar/flask-book-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zagrosjawar/flask-book-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zagrosjawar%2Fflask-book-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zagrosjawar%2Fflask-book-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zagrosjawar%2Fflask-book-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zagrosjawar%2Fflask-book-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zagrosjawar","download_url":"https://codeload.github.com/zagrosjawar/flask-book-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zagrosjawar%2Fflask-book-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31842871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"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":["api","crud","flask","html","js","python"],"created_at":"2025-05-27T11:09:55.829Z","updated_at":"2026-04-15T13:32:27.024Z","avatar_url":"https://github.com/zagrosjawar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask Book API 📚\n\nA Dockerized Flask REST API with a simple HTML/JS frontend to manage an online book catalog.\n\n## 🔧 Features\n\n- 🧾 View all books\n- ➕ Add a new book\n- ❌ Delete a book by ID\n- 🧠 JSON-based API with full CORS support\n- 💻 Web interface included (HTML/JS)\n- 🐳 Packaged in a Docker container\n\n## 🚀 Run with Docker\n\n```bash\ndocker pull zagjaw/zagros-book-flask-api\ndocker run -p 5000:5000 zagjaw/zagros-book-flask-api\n\nVisit your app at:\n👉 http://localhost:5000\n\n\n🛠️ Local Development (Without Docker)\nClone the repository:\n    git clone https://github.com/zagrosjawar/flask-book-api.git\n    cd flask-book-api\n\nSet up a virtual environment and install dependencies:\n    python -m venv venv\n    source venv/bin/activate     # On Windows: venv\\\\Scripts\\\\activate\n    pip install -r requirements.txt\nRun the Flask server:\n    python app.py\n\nVisit 👉 http://localhost:5000\n\n\n📁 Project Structure\n\nflask-book-api/\n├── app.py                # Main Flask API with endpoints\n├── requirements.txt      # Project dependencies\n├── Dockerfile            # Docker image instructions\n├── .dockerignore         # Files to exclude from Docker build\n├── templates/\n│   └── index.html        # Web frontend (auto-served by Flask)\n└── README.md             # Project documentation\n\n\n🐳 Docker Support\nBuild the image manually (if you're working locally):\n    docker build -t flask-book-api .\n    docker run -p 5000:5000 flask-book-api\n\n\n🧰 Built With\nFlask\n\nFlask-CORS\n\nDocker\n\n🧠 Author\nZagros Jawar\n📎 Docker Hub\n📎 GitHub\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzagrosjawar%2Fflask-book-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzagrosjawar%2Fflask-book-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzagrosjawar%2Fflask-book-api/lists"}