{"id":18752366,"url":"https://github.com/bourpie/b2tech-crud-express-mongo","last_synced_at":"2026-04-12T09:06:30.672Z","repository":{"id":115186185,"uuid":"593182981","full_name":"bourpie/B2Tech-CRUD-Express-Mongo","owner":"bourpie","description":"Code permettant d'alimenter une collection MongoDb à partir d'une API externe.","archived":false,"fork":false,"pushed_at":"2023-01-27T13:53:11.000Z","size":8472,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T23:31:39.898Z","etag":null,"topics":["express","mongodb","mongoose","node-cron","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bourpie.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":"2023-01-25T12:39:36.000Z","updated_at":"2023-01-27T13:43:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0fa3197-28b8-4e19-b546-ebbb2384451e","html_url":"https://github.com/bourpie/B2Tech-CRUD-Express-Mongo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bourpie/B2Tech-CRUD-Express-Mongo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bourpie%2FB2Tech-CRUD-Express-Mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bourpie%2FB2Tech-CRUD-Express-Mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bourpie%2FB2Tech-CRUD-Express-Mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bourpie%2FB2Tech-CRUD-Express-Mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bourpie","download_url":"https://codeload.github.com/bourpie/B2Tech-CRUD-Express-Mongo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bourpie%2FB2Tech-CRUD-Express-Mongo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279191452,"owners_count":26123113,"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-16T02:00:06.019Z","response_time":53,"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":["express","mongodb","mongoose","node-cron","nodejs"],"created_at":"2024-11-07T17:19:58.094Z","updated_at":"2025-10-16T12:28:03.100Z","avatar_url":"https://github.com/bourpie.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Seed NodeJS, Express, Mongoose and MongoDB\n\nAlimenter une collection MongoDb à partir d'une API externe. \n\nÀ l'aide de `node-cron`, un céduleur démarre la tâche d'alimentation toutes les 30 secondes \n\n**Usage**\n1. Installer [MongoDb Community](https://www.mongodb.com/docs/manual/administration/install-community/)\n2. Créer la base de données `plumitifs`\n3. Créer les collections `dossiers` et `sejs`\n4. Importer dans la collection `dossiers` un dataset de départ\n5. Exécuter `npm install`\n6. Exécuter `node src/index.js`\n7. Exécuter `node src/importSej.js`\n\n**Références :**\n\n1. [Seed MongoDB using external API in Node.js](https://baraksaidoff.medium.com/seed-mongodb-using-external-api-in-node-js-e73f7a85ea5)\n2. [Tutoriel NodeJS, Express, Mongoose and MongoDB](https://www.youtube.com/playlist?list=PLA7e3zmT6XQU_YoMn_Z9vpAOskP9xq57s)\n3. [Build A Node Cron Scheduler With Node.JS Tutorial](https://www.youtube.com/watch?v=u0Tk8gfXh0M)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbourpie%2Fb2tech-crud-express-mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbourpie%2Fb2tech-crud-express-mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbourpie%2Fb2tech-crud-express-mongo/lists"}