{"id":18940294,"url":"https://github.com/donejs/donejs-feathers","last_synced_at":"2025-10-25T22:07:52.241Z","repository":{"id":57140756,"uuid":"60307392","full_name":"donejs/donejs-feathers","owner":"donejs","description":"A generator to quickly add FeathersJS to your DoneJS project. Includes Auth!","archived":false,"fork":false,"pushed_at":"2019-06-20T16:54:49.000Z","size":1390,"stargazers_count":11,"open_issues_count":4,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-10-25T03:56:12.511Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/donejs.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-03T00:56:42.000Z","updated_at":"2020-09-08T07:27:52.000Z","dependencies_parsed_at":"2022-09-01T23:51:00.268Z","dependency_job_id":null,"html_url":"https://github.com/donejs/donejs-feathers","commit_stats":null,"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/donejs/donejs-feathers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdonejs-feathers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdonejs-feathers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdonejs-feathers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdonejs-feathers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donejs","download_url":"https://codeload.github.com/donejs/donejs-feathers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdonejs-feathers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281026296,"owners_count":26431771,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08T12:21:47.869Z","updated_at":"2025-10-25T22:07:52.201Z","avatar_url":"https://github.com/donejs.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# donejs-feathers - Full-stack realtime\n\n[![Build Status](https://travis-ci.org/feathersjs/donejs-feathers.svg?branch=master)](https://travis-ci.org/feathersjs/donejs-feathers)\n[![npm version](https://badge.fury.io/js/donejs-feathers.svg)](http://badge.fury.io/js/donejs-feathers)\n\n![Full-stack realtime with DoneJS \u0026 Feathers](https://cloud.githubusercontent.com/assets/128857/15908290/25e7760c-2d7e-11e6-8a9e-18421cd87154.png)\n\nA generator to quickly add FeathersJS to your DoneJS project.\n\n## Using the generator\n\nTo add this generator to your DoneJS application run\n\n```\ndonejs add feathers\n```\n\nDoneJS and FeathersJS make for a killer full-stack solution for creating apps.  This generator creates all of the model files and utilities needed to get both working together quickly. The current `2.x` version only sets up the model layer of the app. UI generation will move to separate generators sometime in the future.\n\n**This generator could potentially overwrite files in an existing application. It is meant to be used immediately after generating a new DoneJS application.**\n\nHere's a summary of the files that will be added or modified in a DoneJS project.  To understand more about how these modules work together, check out the [`can-connect-feathers` documentation](https://canjs.com/doc/can-connect-feathers.html).\n- `app.js` - a `session` property is added to the `AppViewModel` that reads from the `Session` model's `current` property.\n- `models/algebra.js` - contains algebra for `can-connect` that enables support for the Feathers query syntax.\n- `models/behaviors.js` - contains the minimum `can-connect` behaviors that are needed to work with Feathers and realtime data.  The Feathers behaviors are added in the individual Model files, like `user.js` and `session.js`.\n- `models/feathers-client.js` - sets up the Feathers client with Socket.io and points it to the location of the Feathers server.  It also configures all of the npm-installed Feathers plugins.\n- `models/fixtures.js` - includes mocks that simulate auth if you don't have a Feathers server running.\n- `models/session.js` - handles authentication.  It connects the `Session` model to the `can-connect-feathers/session/` behavior.  It also automatically populates the `user` data using the `User` model.\n- `models/user.js` a basic User model.  It uses the `can-connect-feathers/service/` behavior to connect to the Feathers server.  The default user endpoint is `/users`, but can be modified here.\n\nThe following packages will be added to your project from npm:\n- `can-connect-feathers`\n- `feathers`\n- `feathers-hooks`\n- `feathers-socketio`\n- `feathers-authentication-client`\n- `steal-socket.io`\n- `socket.io-client`\n\n\n## Developing\n\nTo make changes to this generator clone the repository and install the dependencies\n\n```\ngit clone git@github.com:feathersjs/donejs-feathers.git\ncd donejs-feathers\nnpm install\n```\n\nThen you can run the tests with\n\n```\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonejs%2Fdonejs-feathers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonejs%2Fdonejs-feathers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonejs%2Fdonejs-feathers/lists"}