{"id":19864866,"url":"https://github.com/cristianperez/flask-mongodb-api","last_synced_at":"2025-09-11T21:50:30.536Z","repository":{"id":53629090,"uuid":"278252877","full_name":"cristianPerez/flask-mongodb-api","owner":"cristianPerez","description":"We are going to try mongodb using python and flask.","archived":false,"fork":false,"pushed_at":"2022-12-08T01:53:08.000Z","size":8,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-01T16:24:39.182Z","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/cristianPerez.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}},"created_at":"2020-07-09T03:25:57.000Z","updated_at":"2020-07-09T03:33:29.000Z","dependencies_parsed_at":"2023-01-24T11:02:37.171Z","dependency_job_id":null,"html_url":"https://github.com/cristianPerez/flask-mongodb-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cristianPerez/flask-mongodb-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristianPerez%2Fflask-mongodb-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristianPerez%2Fflask-mongodb-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristianPerez%2Fflask-mongodb-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristianPerez%2Fflask-mongodb-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cristianPerez","download_url":"https://codeload.github.com/cristianPerez/flask-mongodb-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristianPerez%2Fflask-mongodb-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274712445,"owners_count":25335923,"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-09-11T02:00:13.660Z","response_time":74,"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":[],"created_at":"2024-11-12T15:19:58.672Z","updated_at":"2025-09-11T21:50:30.476Z","avatar_url":"https://github.com/cristianPerez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Platzi Mongo\nTodo el código que escribirás para el proyecto platzi-mongo\nestará en el archivo db.py\n\n# Postman\n1. Descargar e instalar [Postman](https://www.getpostman.com/downloads/)\n2. La URI de las colecciones de Postman usada para el proyecto está en [Postman-platzi-mongo](https://www.getpostman.com/collections/ffcbfb5c8d5cd2dc52d2)\n3. Importar colección dentro de Postman [Instrucciones](https://learning.getpostman.com/docs/postman/collections/data_formats/#exporting-and-importing-postman-data)\n\n## Instalar Anaconda \nLa forma más simple de ejecutar el proyecto es instalando [Anaconda](https://www.anaconda.com/distribution/).\n\nCon Anaconda instalado de manera correcta, navegar hasta el directorio del proyecto\ny ejecutar: \n```\n# navegar hasta el directorio del proyecto\ncd platzi-mongo\n# crear un nuevo ambiente\nconda create --name platzi-mongo\n# activar el ambiente \nconda activate platzi-mongo\n# para desactivar el ambiente\nconda deactivate\n```\nSi usas Python frecuentemente y tienes una versión 3.3+ no es necesario que \ninstales Anaconda, crea un ambiente virtual con venv o virtualenv y sigue con \nel paso de instalar las dependencias.\n## Instalar dependenias del proyecto\nCon el ambiente activado, instalar las dependencias:\n```\npip install -r requirements.txt\n```\n## Variables de entorno necesarias para ejecutar el proyecto\nAsegurate de reemplazar el valor de PLATZI_DB_URI por la URI de tu cluster en MongoDB Atlas\n```\nexport FLASK_APP=platzi-api\nexport FLASK_ENV=development \nexport PLATZI_DB_URI=\"MONGO-URI\"\n```\n\n## Iniciar el servidor de platzi-mongo\n```\nflask run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristianperez%2Fflask-mongodb-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcristianperez%2Fflask-mongodb-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristianperez%2Fflask-mongodb-api/lists"}