{"id":18940322,"url":"https://github.com/donejs/donejs-bootstrap","last_synced_at":"2025-09-06T08:34:17.470Z","repository":{"id":136943713,"uuid":"95492964","full_name":"donejs/donejs-bootstrap","owner":"donejs","description":"A DoneJS generator for adding a Bootstrap UI with optional auth","archived":false,"fork":false,"pushed_at":"2019-06-20T16:54:56.000Z","size":94,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-31T22:28:54.267Z","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-26T21:57:52.000Z","updated_at":"2017-06-26T21:59:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"a783ced1-ffe3-41a0-8f03-d711bdad7edf","html_url":"https://github.com/donejs/donejs-bootstrap","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/donejs%2Fdonejs-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdonejs-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdonejs-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donejs%2Fdonejs-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donejs","download_url":"https://codeload.github.com/donejs/donejs-bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239939076,"owners_count":19721770,"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-08T12:21:55.952Z","updated_at":"2025-02-21T01:25:46.025Z","avatar_url":"https://github.com/donejs.png","language":"JavaScript","funding_links":[],"categories":[],"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-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonejs%2Fdonejs-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonejs%2Fdonejs-bootstrap/lists"}