{"id":20393078,"url":"https://github.com/aichbauer/sabogr","last_synced_at":"2025-06-15T00:06:58.648Z","repository":{"id":82477735,"uuid":"59597627","full_name":"aichbauer/sabogr","owner":"aichbauer","description":"Angular+Sails+JWT-Authentication: Best Angular implementation for Sails. Features: Authentication with json web token. Frontend packages with bower, controlled by bower-installer. Angular pages for landing, home, profile, error. Backend models: User. Backend controllers: User, Auth with json web token","archived":false,"fork":false,"pushed_at":"2016-05-26T23:20:40.000Z","size":3199,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T20:40:53.377Z","etag":null,"topics":[],"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/aichbauer.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":"2016-05-24T18:19:14.000Z","updated_at":"2016-06-02T02:17:36.000Z","dependencies_parsed_at":"2023-03-12T16:04:47.579Z","dependency_job_id":null,"html_url":"https://github.com/aichbauer/sabogr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aichbauer/sabogr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichbauer%2Fsabogr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichbauer%2Fsabogr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichbauer%2Fsabogr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichbauer%2Fsabogr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aichbauer","download_url":"https://codeload.github.com/aichbauer/sabogr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aichbauer%2Fsabogr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259901382,"owners_count":22929224,"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-15T03:47:16.246Z","updated_at":"2025-06-15T00:06:58.624Z","avatar_url":"https://github.com/aichbauer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sabogr\n####Sails Angular Bower Grunt\n#####Ready to use Sails Angular App with authentication\n\na [Sails](http://sailsjs.org) application template\nwith [AngularJS](https://angularjs.org/), [Bootstrap](http://getbootstrap.com/).\n\n## Getting started\n\nYou need to have node, sails installed globaly.\n[Node.js](https://nodejs.org/en/) and [Sails.js](http://sailsjs.org/).\n\nGo to your project or working directory and run the following command.\n\n`sails new yourProjectName`\n\nNow simply fork this repo and merge it.\n\n## Let bower-installer and grunt do the magic\n\nHave bower, bower-installer installed globally.\n[bower](http://bower.io/) and [bower-installer](https://github.com/blittle/bower-installer).\n\n`npm install -g bower` and `npm install -g bower-installer`\n\n#####  assets folder\n\nThis folder is your public resource which gets pushed by the Gruntfile.js in you root folder into the .tmp folder.\nThe .tmp folder is visible for your clients.\n\nRun `bower install` and `sails lift` and your Sails.js, AngularJS app is ready.\n\n### Installing bower components\n\nInside of the assets folder you can now install new bower packages with\n\n`bower install package-name --save`\n\nYour packages are saved inside of the 'assets/bower_components' directory.\n\n### Load only the needed recources to .tmp\n\nWe use bower-installer to load the needed resources to our 'assets/_js', 'assets/_css' directory.\n\nCall the following command in your assets folder\n\n`bower-installer`\n\nEvery time you install new components run this command again.\n\n### Bower Installer does not load every file to my folder\n\nIf that is the case you can specify your file that is not loading into the right folder manually.\n\nopen the bower.json file in your assets folder.\n\nBootstrap.css does not load automatically in that folder so I configured it manually.\nIf some packages you installed does not load automatically simply add your name and\nthe path to your file under the bootstrap line (see example).\n```json\n\"sources\" : {\n      \"bootstrap\" : \"bower_components/bootstrap/dist/css/bootstrap.css\",\n      \"example\": \"bower_components/example/css/example.css\"\n    }\n```\n\nRun `bower-installer` again.\n\n### Sails lift grunt tasks\n\nWhat happens when you `sails lift` your server?\n\nWhen you run `grunt` or `sails lift`the Gruntfile.js in your root directory gets executed.\n\nWhich files and in what order your files should get loaded are defined in the pipeline.js in your tasks folder.\n\nThe author changed the files which should get loaded in this file and in that order that your angular app will work instantly. Also our own styles, which live in our assets/style folder are loaded to the .tmp folder.\n\n```js\n// The CSS files from our bower components\nvar cssFilesToInject = [\n  '_css/**/*.css',\n  'style/**/*.css'\n];\n\n// The Js files from our bower components\n//And our Angular application\nvar jsFilesToInject = [\n\n  // Dependencies like Angular and Bootstrap are brought in here\n  '_js/angular/*.js',\n  '_js/jquery/*.js',\n  '_js/bootstrap/*.js',\n  '_js/**/*.js',\n\n  //load our application init file and all modules for angular\n  'src/app/*.js',\n  'src/modules/**/*.js',\n\n  // All source files for angular are inside here\n  'src/**/*.js',\n  'src/*.js',\n\n];\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faichbauer%2Fsabogr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faichbauer%2Fsabogr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faichbauer%2Fsabogr/lists"}