{"id":28324511,"url":"https://github.com/lscasas/dogtor_flask_mongo","last_synced_at":"2026-05-08T04:43:44.886Z","repository":{"id":276691850,"uuid":"929985971","full_name":"LSCasas/dogtor_flask_mongo","owner":"LSCasas","description":"Platform for managing a veterinary clinic's workflow, including pets, owners, veterinarians, and appointments with MongoDB.","archived":false,"fork":false,"pushed_at":"2025-05-04T00:05:20.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T03:25:19.265Z","etag":null,"topics":["boostrap","dotenv","flask","mongodb","python"],"latest_commit_sha":null,"homepage":"https://dogtor-flask-mongo.lscasas.dev/","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/LSCasas.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-02-09T21:00:51.000Z","updated_at":"2025-05-04T15:54:42.000Z","dependencies_parsed_at":"2025-03-27T00:33:29.557Z","dependency_job_id":null,"html_url":"https://github.com/LSCasas/dogtor_flask_mongo","commit_stats":null,"previous_names":["lscasas/dogtor-flask"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LSCasas/dogtor_flask_mongo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LSCasas%2Fdogtor_flask_mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LSCasas%2Fdogtor_flask_mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LSCasas%2Fdogtor_flask_mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LSCasas%2Fdogtor_flask_mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LSCasas","download_url":"https://codeload.github.com/LSCasas/dogtor_flask_mongo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LSCasas%2Fdogtor_flask_mongo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261591569,"owners_count":23181749,"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":["boostrap","dotenv","flask","mongodb","python"],"created_at":"2025-05-25T18:10:59.229Z","updated_at":"2026-05-08T04:43:44.860Z","avatar_url":"https://github.com/LSCasas.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dogtor\r\n\r\nA Flask-based web app for managing pet owners, pets, vets, and appointments, built for educational purposes to demonstrate route-based entity relationships.\r\n\r\n---\r\n\r\n## Table of Contents\r\n\r\n- [Project Structure](#project-structure)\r\n- [Features](#features)\r\n- [Installation](#installation)\r\n- [Usage](#how-to-use-this-project)\r\n- [Requirements](#requirements)\r\n- [Contribution](#contribution)\r\n- [Learn More](#learn-more)\r\n\r\n---\r\n\r\n## Project Structure\r\n\r\n```\r\nDogtor-Flask/\r\n├── app.py               # Main Flask application\r\n├── templates/           # HTML templates\r\n├── static/              # Static assets (CSS, JS)\r\n├── requirements.txt     # Python dependencies\r\n├── example.env          # Environment variable example file\r\n├── README.md            # Project documentation\r\n```\r\n\r\n---\r\n\r\n## Features\r\n\r\n- Create and manage pet owners\r\n- Register and edit pet information\r\n- Assign veterinarians to pets\r\n- Schedule veterinary procedures and appointments\r\n- Integrated with MongoDB\r\n- Traditional route-based system without REST conventions\r\n\r\n---\r\n\r\n## Installation\r\n\r\n1. **Clone the repository:**\r\n\r\n   ```bash\r\n   git clone https://github.com/LSCasas/Dogtor-Flask.git\r\n   cd dogotor_flask_mongodb\r\n   ```\r\n\r\n2. **Install dependencies:**\r\n\r\n   ```bash\r\n   pip install -r requirements.txt\r\n   ```\r\n\r\n3. **Configure environment variables:**\r\n\r\n   Copy the example file and edit your settings:\r\n\r\n   ```bash\r\n   cp example.env .env\r\n   ```\r\n\r\n4. **Run the server:**\r\n\r\n   ```bash\r\n   python app.py\r\n   ```\r\n\r\n---\r\n\r\n## How to Use This Project\r\n\r\n### Example Requests\r\n\r\nUse `curl` or Postman to test routes.\r\n\r\n**1. Add Veterinarian:**\r\n\r\n```bash\r\ncurl -X POST -d \"nombre=Dr. Ana López\u0026especialidad=Cardiología\u0026telefono=555-2222\" http://localhost:5000/veterinarios/agregar\r\n\r\n```\r\n\r\n**2. Get Veterinarian by ID:**\r\n\r\n```bash\r\ncurl http://localhost:5000/veterinarios/obtenerPorId/YOUR_VET_ID\r\n\r\n```\r\n\r\n**3. Update Veterinarian:**\r\n\r\n```bash\r\ncurl -X POST -d \"nombre=Dr. Ana López\u0026especialidad=Neurología\u0026telefono=555-3333\" http://localhost:5000/veterinarios/actualizar/YOUR_VET_ID\r\n\r\n```\r\n\r\n---\r\n\r\n## Architecture Notes\r\n\r\nIt is important to note that this project does NOT follow a REST-based architecture as it was developed for educational purposes and does not require that complexity. Instead of REST, it uses a traditional route-based architecture in Flask.\r\n\r\n---\r\n\r\n## Requirements\r\n\r\n- Python 3.x\r\n- Flask\r\n- MongoDB or PostgreSQL\r\n\r\n---\r\n\r\n## Contribution\r\n\r\nIf you want to contribute to this project, follow the steps below:\r\n\r\n1. Fork the repository.\r\n\r\n2. Create a new branch for your feature:\r\n\r\n   ```bash\r\n   git checkout -b feature/new-feature\r\n   ```\r\n\r\n3. Make your changes.\r\n\r\n4. Commit your changes:\r\n\r\n   ```bash\r\n   git commit -am 'Add new feature'\r\n   ```\r\n\r\n5. Push your changes to your fork:\r\n\r\n   ```bash\r\n   git push origin feature/new-feature\r\n   ```\r\n\r\n6. Create a Pull Request for your changes to be reviewed and merged into the main project.\r\n\r\n---\r\n\r\n## 📚 Learn More\r\n\r\n- [Flask Documentation](https://flask.palletsprojects.com/)\r\n- [MongoDB Documentation](https://www.mongodb.com/docs/)\r\n- [Dotenv for Python](https://pypi.org/project/python-dotenv/)\r\n\r\n---\r\n\r\nYour feedback and contributions to this project are welcome!\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flscasas%2Fdogtor_flask_mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flscasas%2Fdogtor_flask_mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flscasas%2Fdogtor_flask_mongo/lists"}