{"id":13609959,"url":"https://github.com/tarlepp/angular-sailsjs-boilerplate-backend","last_synced_at":"2025-06-21T20:03:57.075Z","repository":{"id":147145872,"uuid":"41559197","full_name":"tarlepp/angular-sailsjs-boilerplate-backend","owner":"tarlepp","description":"Backend side for angular-sailsjs-boilerplate","archived":false,"fork":false,"pushed_at":"2023-10-24T20:29:02.000Z","size":86,"stargazers_count":23,"open_issues_count":1,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T23:54:04.467Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarlepp.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":"2015-08-28T17:05:31.000Z","updated_at":"2019-07-16T16:03:00.000Z","dependencies_parsed_at":"2024-08-01T19:43:44.764Z","dependency_job_id":"3497802c-db70-4495-8275-cad021531e43","html_url":"https://github.com/tarlepp/angular-sailsjs-boilerplate-backend","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tarlepp/angular-sailsjs-boilerplate-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarlepp%2Fangular-sailsjs-boilerplate-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarlepp%2Fangular-sailsjs-boilerplate-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarlepp%2Fangular-sailsjs-boilerplate-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarlepp%2Fangular-sailsjs-boilerplate-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarlepp","download_url":"https://codeload.github.com/tarlepp/angular-sailsjs-boilerplate-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarlepp%2Fangular-sailsjs-boilerplate-backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261186369,"owners_count":23121938,"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-08-01T19:01:39.714Z","updated_at":"2025-06-21T20:03:52.064Z","avatar_url":"https://github.com/tarlepp.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Backend for angular-sailsjs-boilerplate\n[![GitHub version](https://badge.fury.io/gh/tarlepp%2Fangular-sailsjs-boilerplate-backend.svg)](https://badge.fury.io/gh/tarlepp%2Fangular-sailsjs-boilerplate-backend)\n[![Build Status](https://travis-ci.org/tarlepp/angular-sailsjs-boilerplate-backend.png?branch=master)](https://travis-ci.org/tarlepp/angular-sailsjs-boilerplate-backend)\n[![Dependency Status](https://david-dm.org/tarlepp/angular-sailsjs-boilerplate-backend.svg)](https://david-dm.org/tarlepp/angular-sailsjs-boilerplate-backend)\n[![devDependency Status](https://david-dm.org/tarlepp/angular-sailsjs-boilerplate-backend/dev-status.svg)](https://david-dm.org/tarlepp/angular-sailsjs-boilerplate-backend#info=devDependencies)\n\nBackend is a [Sails.js](http://sailsjs.org) application without frontend. See more info at http://sailsjs.org/ I have \njust done some small tweaks to generic workflow of sails nothing else. Basically this only serves an API and\nuser authentication services - nothing else. So the main difference withing sails normal workflow is that sails isn't \nserving any \"views\", backend serves only JSON and nothing else.\n\nThis backend code is part of [angular-sailsjs-boilerplate](https://github.com/tarlepp/angular-sailsjs-boilerplate) project.\n\n## Installation\nFirst of all you have to install npm, node.js / io.js and sails to your box. Installation instructions can be \nfound [here](http://sailsjs.org/get-started).\n\nAfter that make sure that you have all necessary components installed by running following commands in your shell:\n\n```\nnpm --version\nnode --version\nsails --version\n```\n\nAnd after that you can run actual backend install by following command in source root folder:\n\n```\nnpm install\n```\n\n## Configuration\nBackend needs some configurations before you can actually run it properly. Although you can skip this section if you\nwant to, in this case sails will use its defaults to run application. \n\nThere is an example of backend configuration file on following path:\n\n```\n/config/local_example.js\n```\n\nJust copy this file to ```/config/local.js``` and make necessary changes to it. Note that this ```local.js``` file is \nin ```.gitignore``` so it won't go to VCS at any point.\n\n## Application start\nYou can start this backend application as the same way as any sails / node application. This can be done by following\ncommands:\n\n```\nsails lift\n```\nOR\n```\nnode app.js\n```\n\nThis will start sails.js server on defined port. By default this is accessible from http://localhost:1337 url. If you \ntry that with your browser you should only see page that contains ```Not Found message``` on it. This means that \neverything is ok.\n\n## Possible failures\nBelow is small list of possible failures that can occur while trying this.\n\n\u003col\u003e\n    \u003cli\u003eSails won't lift and you get error message like: \u003ccode\u003eFatal error: watch ENOSPC\u003c/code\u003e\n        \u003cul\u003e\n            \u003cli\u003ehttp://stackoverflow.com/questions/16748737/grunt-watch-error-waiting-fatal-error-watch-enospc\u003c/li\u003e\n            \u003cli\u003etl;dr just run \u003ccode\u003enpm dedupe\u003c/code\u003e \n        \u003c/ul\u003e\n    \u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cem\u003eAnd if _you_ have some problems, please add solutions to this list...\u003c/em\u003e\n\n## Author\nTarmo Leppänen\n\n## License\nThe MIT License (MIT)\n\nCopyright (c) 2015 Tarmo Leppänen\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarlepp%2Fangular-sailsjs-boilerplate-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarlepp%2Fangular-sailsjs-boilerplate-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarlepp%2Fangular-sailsjs-boilerplate-backend/lists"}