{"id":19922714,"url":"https://github.com/igorprado/angular-requirejs-gulp-express-mongodb-seed","last_synced_at":"2025-05-03T07:30:49.888Z","repository":{"id":19722273,"uuid":"22978123","full_name":"igorprado/angular-requirejs-gulp-express-mongodb-seed","owner":"igorprado","description":"MEAN using RequireJS Seed","archived":false,"fork":false,"pushed_at":"2015-04-22T18:34:50.000Z","size":248,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T13:05:28.833Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://beer-project.herokuapp.com/beers","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/igorprado.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":"2014-08-15T04:05:18.000Z","updated_at":"2016-06-14T09:57:19.000Z","dependencies_parsed_at":"2022-08-24T14:09:07.812Z","dependency_job_id":null,"html_url":"https://github.com/igorprado/angular-requirejs-gulp-express-mongodb-seed","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/igorprado%2Fangular-requirejs-gulp-express-mongodb-seed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorprado%2Fangular-requirejs-gulp-express-mongodb-seed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorprado%2Fangular-requirejs-gulp-express-mongodb-seed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorprado%2Fangular-requirejs-gulp-express-mongodb-seed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorprado","download_url":"https://codeload.github.com/igorprado/angular-requirejs-gulp-express-mongodb-seed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252156759,"owners_count":21703347,"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":[],"created_at":"2024-11-12T22:11:57.550Z","updated_at":"2025-05-03T07:30:49.613Z","avatar_url":"https://github.com/igorprado.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AngularJS / RequireJS / Gulp / Express / MongoDB Seed\n\n## Demo\n\nDemo available: http://beer-project.herokuapp.com/beers\n\n## About\n\nI wanted to learn about:\n* [NodeJS](http://nodejs.org/)\n* [Express](http://expressjs.com/)\n* [AngularJS](https://angularjs.org/)\n* [MongoDB](https://www.mongodb.com/)\n* [Gulp](http://gulpjs.com/)\n\nSo I started this seed! This seed is based on [Angular Express Seed](https://github.com/btford/angular-express-seed).\n\nExpress is used to serve the static files, templates to AngularJS and provide a RESTful API to manipulate MongoDB collections.\n\nGulp is used to build our frontend files (CSS, JS and optimize images).\n\n## How to use this seed\n\n### Install\n\nClone this repo:\n\n    git clone git@github.com:igorprado/angular-requirejs-gulp-express-mongodb-seed.git\n\nRun `npm install` to install the dependencies:\n\n    npm install\n\nInstall Gulp globally:\n\n    npm install gulp -g\n\n### Running the app\n\nBuild the frontend files running:\n\n    gulp\n\nFor development, use `gulp watch` to build the frontend files automatically.\n\nConfigure your MongoDB database and credentials on `app.js`:\n\n    mongoose.connect('mongodb://\u003cuser\u003e:\u003cpass\u003e@\u003chost\u003e:\u003cport\u003e/\u003cdb\u003e');\n\n_NOTE: If you don't have a MongoDB on your development machine, a simple way to start with this app is create a free MongoDB instance at [Mongolab](https://mongolab.com/home)._\n\nRuns like a typical express app:\n\n    node app.js\n\n_For development enviroment, I recommend [Supervisor](https://github.com/isaacs/node-supervisor)._\n\n### Running tests\n\nI have to learn more about tests. So, it's on my roadmap for this seed.\n\n## Directory Layout\n\n    app.js              --\u003e App config\n    package.json        --\u003e For npm\n    bower.json          --\u003e Frontend libs dependencies\n    frontend/           --\u003e All of the source files to be used in on the client side (will be compiled on public/)\n      sass/             --\u003e Stylesheet files\n        app.sass        --\u003e Default sass stylesheet\n        includes/       --\u003e Divide our stylesheet in parts\n      img/              --\u003e Image files\n      js/               --\u003e Javascript files\n        app.js          --\u003e Declare top-level app module\n        main.js         --\u003e Default config for RequireJS\n        beers/          --\u003e Our app is divided by modules. This is an example module\n          controllers/  --\u003e All controllers of our module\n          services/     --\u003e All services of our module\n          beers.js      --\u003e Declare our module and routes config\n        directives/     --\u003e Define our application directives\n      lib/              --\u003e Our bower dependencies are installed here\n    public/             --\u003e Our genereted files will be placed here (after run gulp)\n    routes/\n      api.js            --\u003e Top-level route config\n      index.js          --\u003e Route for serving HTML pages and partials (AngularJS templates)\n      api/              --\u003e All route configs of our modules will be here\n        beers.js        --\u003e Our example module route config.\n    views/\n      index.jade        --\u003e Main page for app, where the top-level ui-view is defined\n      layout.jade       --\u003e Doctype, title, head boilerplate\n      partials/         --\u003e Angular view partials (partial jade templates)\n        index.jade      --\u003e The default state (for UI Router)\n        beers/          --\u003e All the templates for our module are listed here\n\n\n\n## Example App\n\nA simple [beer management app](http://beer-project.herokuapp.com/beers) is running and using this seed.\n\n## Support\n\nFeel free to comment, fork or upgrade this code.\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorprado%2Fangular-requirejs-gulp-express-mongodb-seed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorprado%2Fangular-requirejs-gulp-express-mongodb-seed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorprado%2Fangular-requirejs-gulp-express-mongodb-seed/lists"}