{"id":20066096,"url":"https://github.com/sean-bradley/seans-angularjs-nodejs-mongodb-boilerplate","last_synced_at":"2026-04-10T00:04:25.252Z","repository":{"id":76145595,"uuid":"140923944","full_name":"Sean-Bradley/Seans-AngularJS-NodeJS-MongoDB-Boilerplate","owner":"Sean-Bradley","description":"AngularJS, NodeJS, MongoDB Boilerplate with automated testing and optimisations using Mocha, Chai, Jasmine, Protractor, Gulp and Babel","archived":false,"fork":false,"pushed_at":"2019-12-27T12:04:29.000Z","size":13061,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T23:10:25.263Z","etag":null,"topics":["angularjs","babel","chai","csrf","docker","gulp","mocha","mongodb","nginx","nodejs","rest","uglify"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sean-Bradley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-07-14T06:58:01.000Z","updated_at":"2019-12-27T12:04:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b4dbf0f-3b8e-4039-821d-a567e49eedd1","html_url":"https://github.com/Sean-Bradley/Seans-AngularJS-NodeJS-MongoDB-Boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sean-Bradley%2FSeans-AngularJS-NodeJS-MongoDB-Boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sean-Bradley%2FSeans-AngularJS-NodeJS-MongoDB-Boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sean-Bradley%2FSeans-AngularJS-NodeJS-MongoDB-Boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sean-Bradley%2FSeans-AngularJS-NodeJS-MongoDB-Boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sean-Bradley","download_url":"https://codeload.github.com/Sean-Bradley/Seans-AngularJS-NodeJS-MongoDB-Boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241494184,"owners_count":19971871,"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":["angularjs","babel","chai","csrf","docker","gulp","mocha","mongodb","nginx","nodejs","rest","uglify"],"created_at":"2024-11-13T13:54:31.219Z","updated_at":"2025-12-30T19:13:11.724Z","avatar_url":"https://github.com/Sean-Bradley.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Seans AngularJS \u003c-\u003e NodeJS \u003c-\u003e MongoDB Boilerplate\n\nComes With tests\n- Mocha and Chai test scripts for testing the nodejs models\n- Chai-Http for testing the nodejs routes\n- Protractor e2e and Jasmine tests for the AngularJS UI\n\nAnd\n- Auto concat using Gulp Concat\n- Minify using Gulp Uglify\n- ES6 to ES5 conversion using Babel\n- and deploy to public www folder using Gulp\n- csrf prevention using csurf\n- now dockerised with docker-compose \n\n## Install\n\n`git clone https://github.com/Sean-Bradley/Seans-AngularJS-NodeJS-MongoDB-Boilerplate.git`\n\n`cd Seans-AngularJS-NodeJS-MongoDB-Boilerplate`\n\n`cd nodejs`\n\n`npm install`\n\n\n## To start\n\n`cd ..`  *cd back to project root*\n\n`docker-compose up`\n\nthen visit\n\n`https://localhost:8443`\n\n## Note about docker toolbox on windows 10\nIf you use docker toolbox on windows 10 home, the site will be published at ip 192.168.99.100.\n* You should open the VBox manager, \n* Click the default machine used by docker\n* Right click and choose Settings \n* Network \u003e Adapter 1 \u003e Advanced \u003e Port Forwarding\n* Click \"+\" to add a new Rule\n* Set Host IP to 127.0.0.1, Host Port 8443 \n* Guest IP to 192.168.99.100 and Guest Port 8443\n\n![screen shot](screenshot.png)\n\n## Developing\n\nIf you are developing the code,\nyou will also need to open a second console and run \n\n`cd nodejs`\n\n`gulp watch`\n\nThis will automatically,\n- detect changes in the source files, \n- run tests on the files using mocha and chai,\n- compile them from ES6 to ES5 Javascript using babel, \n- concatenate the js using gulp-concat,\n- and minify the js using gulp-uglify,\n- and copy the new scripts and html to the public `www` folder\n\nAll the AngularJS specific files should be edited from the `ngSrc` folder.\nAny changes will be automatically tested, recompiled, minified and saved to the public `www` folder.\n\n## e2e Testing\n\nThere is also the option to do e2e testing with protractor and jasmine.\n\nBefore you start, you need to install protractor\n\n`cd nodejs`\n\n`npm install -g protractor`\n\nthen, update the web driver\n\n`npm run update-webdriver`\n\nNow you can run\n\n`npm run protractor`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsean-bradley%2Fseans-angularjs-nodejs-mongodb-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsean-bradley%2Fseans-angularjs-nodejs-mongodb-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsean-bradley%2Fseans-angularjs-nodejs-mongodb-boilerplate/lists"}