{"id":18548958,"url":"https://github.com/traa/largular","last_synced_at":"2025-05-15T08:14:43.829Z","repository":{"id":20508736,"uuid":"23787339","full_name":"traa/largular","owner":"traa","description":"angular application with modules, bundles, require.js and r.js","archived":false,"fork":false,"pushed_at":"2015-12-14T14:39:29.000Z","size":924,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T09:45:08.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/traa.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-09-08T10:47:16.000Z","updated_at":"2014-12-22T11:37:25.000Z","dependencies_parsed_at":"2022-09-09T11:21:52.390Z","dependency_job_id":null,"html_url":"https://github.com/traa/largular","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/traa%2Flargular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traa%2Flargular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traa%2Flargular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traa%2Flargular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traa","download_url":"https://codeload.github.com/traa/largular/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254301621,"owners_count":22047907,"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-06T20:36:15.743Z","updated_at":"2025-05-15T08:14:43.810Z","avatar_url":"https://github.com/traa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"largular\n========\n\nAngular application with modules, bundles, require.js and r.js\n\n## Starting\n\nInstalling dependencies\n`npm install`\n\nRunning server\n\nProcessed by rjs `node public/server.js`\n\nDevelopment mode `node public/server.js`\n\n\n## Building application\n\nTo build project (compile it into bundles, minify CSS, copy to `public` folder and other cool things, that you can set up in `build.js`) type this into your shell (navigate to project folder)\n\n#### Windows\n`r.js.cmd -o build.js`\n\n#### Mac/Linux\n`r.js -o build.js`\n\nYour build is located in `public` folder. \n`index.html` is an entry point.\n\n\n## Adding a new module\n\n1. Place module folder into `js/components` folder. It must be a requirejs package, with `main.js` file in it, which contains a list of all module files. In this example `module.js` is an entry point of module, where stored module configuration and angular dependencies\n2. Add a new package into `js/main.js` file, at `packages` object, with it's own name and location.\n3. Create new bundle or add package name to one of existing bundles (like `mymodule` added to `app` bundle). **Bundle** can be a set of modules/packages.\n4. Add to `app` module angular dependency, with name of your angular module.\n\n\n## Adding a new bundle\n\n1. Create a new file with desired bundle name in `js/bundles` and list all packages, that needs to be included in it.\n2. Add to `build.js` new bundle, in `modules` object. Name of module must be `bundles/\u003cyour bundle name\u003e`\n3. Load it somewhere in the app by calling `require(['bundles/mybundlename']);`\n\n## Module examples\n\n[Here is](https://github.com/traa/largular/tree/master/js/components/mymodule) a small example of module\n\n## Application workflow\n\n![Structure of app](http://funkyimg.com/i/KskZ.png)\n\n## So, what's the goal?\n\n1. Run it. This includes compiling and starting server.\n2. Implement list of coming soon movies on main page using [Metacritic API](https://market.mashape.com/byroredux/metacritic-v2#get-coming-soon-movie-list)\n3. Implement movie search using [same Metacritic API](https://market.mashape.com/byroredux/metacritic-v2#search-movies)\n\nYou can fork this repo and commit your code, so updates are easily tracked.\nFeel free to modify an app as you want and ask any questions to skype **truthatenvy**\n\n##Rules\n1. No third-party services.\n\nOptional:\n\n1. Remove blinking effect on page load\n2. Add gulp/grunt task, that will automatically rebuild application and start a node server \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraa%2Flargular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraa%2Flargular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraa%2Flargular/lists"}