{"id":18770217,"url":"https://github.com/imedadel/mean-azure","last_synced_at":"2026-04-19T13:32:53.612Z","repository":{"id":97806272,"uuid":"158927544","full_name":"imedadel/mean-azure","owner":"imedadel","description":"A boilerplate for creating MEAN apps and connecting them to CosmosDB on Azure (or mLab)","archived":false,"fork":false,"pushed_at":"2019-08-13T11:34:25.000Z","size":23,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-21T00:14:59.663Z","etag":null,"topics":["angular","azure","boilerplate","cosmosdb","mean","mlab","mongodb"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/imedadel.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":"2018-11-24T11:00:54.000Z","updated_at":"2021-07-03T16:12:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a2299dd-1928-473e-9fc8-bb273a49730f","html_url":"https://github.com/imedadel/mean-azure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imedadel/mean-azure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imedadel%2Fmean-azure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imedadel%2Fmean-azure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imedadel%2Fmean-azure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imedadel%2Fmean-azure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imedadel","download_url":"https://codeload.github.com/imedadel/mean-azure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imedadel%2Fmean-azure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32009154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["angular","azure","boilerplate","cosmosdb","mean","mlab","mongodb"],"created_at":"2024-11-07T19:18:36.919Z","updated_at":"2026-04-19T13:32:53.562Z","avatar_url":"https://github.com/imedadel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MEAN - Azure\n![mean](http://i.imgur.com/7j43Fzf.jpg) \n\n![azure](https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Microsoft_Azure_Logo.svg/500px-Microsoft_Azure_Logo.svg.png)\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.0.3.\n\nThis is a boilerplate for creating MEAN apps and connecting them for CosmosDB on Azure and mLab. It is based on John Papa's [tutorial](https://docs.microsoft.com/en-us/azure/cosmos-db/tutorial-develop-mongodb-nodejs) and updated for the latest version of Angular.\n\n## How to install\n1. Clone this repository to your system.\n```\ngit clone https://github.com/ImedAdel/mean-azure.git\n```\nIf you want to clone it to a folder name `myapp` , use \n```\ngit clone https://github.com/ImedAdel/mean-azure.git myapp\n```\n2. Cd to the created folder\n```\ncd mean-azure\n```\n3. Run\n```\nnpm install\n```\nor\n```\nyarn\n```\n\n## Configuration\n### Azure\nOpen `mean-azure/src/server/env/environment.js` and configure it. All the information you need is found in the Connection String tab on Azure's portal.\n\n### mLab\nIf you are trying to connect to mLab, then you have to change `const mongoUri` in `mean-azure/src/server/mongo.js` to this\n``` javascript\nconst mongoUri = `mongodb://${env.accountName}:${env.key}@ds235732.mlab.com:${env.port}/${env.databaseName}`;\n```\n`accountName` is the database user, `key` is the database password, and `databaseName` the database name.\n\n## How to use\nSimply follow the pattern of the app. You can copy existing files or edit them according to your needs.\n\n## About Angular CLI\n\n### Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n### Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n### Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.\n\n### Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n### Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\n### Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimedadel%2Fmean-azure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimedadel%2Fmean-azure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimedadel%2Fmean-azure/lists"}