{"id":13698617,"url":"https://github.com/SenseNet/sn-angular2-redux-todo-app","last_synced_at":"2025-05-04T03:31:35.695Z","repository":{"id":68994939,"uuid":"78208405","full_name":"SenseNet/sn-angular2-redux-todo-app","owner":"SenseNet","description":"Example todo app built with Angular2+Redux upon sensenet ECM","archived":true,"fork":false,"pushed_at":"2018-12-10T07:33:06.000Z","size":3419,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-13T03:34:46.015Z","etag":null,"topics":["angular2","angular2-redux","ecms","example","redux","sensenet","sn-client-js","sn-redux","todoapp"],"latest_commit_sha":null,"homepage":"https://www.sensenet.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SenseNet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2017-01-06T13:32:58.000Z","updated_at":"2023-01-28T19:22:30.000Z","dependencies_parsed_at":"2023-02-28T06:45:42.860Z","dependency_job_id":null,"html_url":"https://github.com/SenseNet/sn-angular2-redux-todo-app","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/SenseNet%2Fsn-angular2-redux-todo-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseNet%2Fsn-angular2-redux-todo-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseNet%2Fsn-angular2-redux-todo-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenseNet%2Fsn-angular2-redux-todo-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SenseNet","download_url":"https://codeload.github.com/SenseNet/sn-angular2-redux-todo-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252283622,"owners_count":21723511,"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":["angular2","angular2-redux","ecms","example","redux","sensenet","sn-client-js","sn-redux","todoapp"],"created_at":"2024-08-02T19:00:51.019Z","updated_at":"2025-05-04T03:31:33.483Z","avatar_url":"https://github.com/SenseNet.png","language":"TypeScript","funding_links":[],"categories":["Examples"],"sub_categories":[],"readme":"# Todo App example with SN7, Angular2 and Redux\n\n------\n### This package is not under active development. You can find our latest packages in the [sensenset/sn-client](https://github.com/sensenet/sn-client) monorepo.\n------\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/SenseNet/sn-angular2-redux-todo-app.svg)](https://greenkeeper.io/)\n\n[![Build status](https://img.shields.io/travis/SenseNet/sn-angular2-redux-todo-app.svg?style=flat)](https://travis-ci.org/SenseNet/sn-angular2-redux-todo-app)\n[![License](https://img.shields.io/github/license/SenseNet/sn-angular2-redux-todo-app.svg?style=flat)](https://github.com/SenseNet/sn-angular2-redux-todo-app/LICENSE.txt)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat)](http://commitizen.github.io/cz-cli/)\n\nThis example is simple todo app built with Angular2+Redux upon Sense/Net ECM which has been prepared to demonstrate how to use the new sensenet ECM related libraries [sn-client-js](https://github.com/SenseNet/sn-client-js)\nand [sn-redux](https://github.com/SenseNet/sn-redux).\n\n## Quick start\n\n```\n$ git clone https://github.com/SenseNet/sn-angular2-redux-todo-app.git\n$ cd sn-angular2-redux-todo-app\n$ npm install\n$ npm run start\n```\n\n## Settings\n\nTo use this example you'll need a sensenet ECM portal. To connect the app with the portal set your site's url as the app's siteUrl\n\n```\nimport { SetSiteUrl } from 'sn-client-js';\n\nSetSiteUrl('https://mysite.com');\n```\n\nGo to your portal's Portal.setting (/Root/System/Settings/Portal.settings) and check the allowed origins. To get the app working you have to add the app's domain as an allowed origin so that the app can send requests to the \nportal and get or set data.\n\n```\n{\n   AllowedOriginDomains: [ \"localhost\" ]\n}\n```\n\nFor further information about CORS in sensenet ECM check [this](http://wiki.sensenet.com/Cross-origin_resource_sharing) article.\n\nThe example app uses one of the built-in TaskList Content in the default sensenet ECM install (/workspaces/Project/budapestprojectworkspace/Tasks). If you removed this Content and its children tasks earlier\nor want to try with another TaskList change the value of the ```path``` variable of ```SnTodoListComponent``` in ```app.component.ts``` to the chosen list's path.\n\nThe example app demonstrates not only how to fetching data but also Content creation and delete. The app doesn't provide authentication because of it's simplicity so you have to make some permission changes\nin your sensenet ECM portal to let Visitor users adding and removing tasks from the chosen parent list.\nIf you are not familiar with Sense/Net's permission system check the following wiki articles:\n* [Sense/Net ECM Permission System](http://wiki.sensenet.com/Permission_System)\n* [How to set permissions on a content in Sense/Net ECM](http://wiki.sensenet.com/How_to_set_permissions_on_a_content)\n\n## Related documents\n\n* [sn-client-js API reference](http://www.sensenet.com/documentation/sn-client-js/index.html)\n* [sn-redux API reference](http://www.sensenet.com/documentation/sn-redux/index.html)\n* [Redux](http://redux.js.org/docs/introduction/)\n* [Getting Started with Redux](https://egghead.io/courses/getting-started-with-redux)\n* [Angular](https://angular.io/)\n\nThis project was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.0-beta.24.\n\n## Development server\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.\n\n\u003c!--## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\nBefore running the tests make sure you are serving the app via `ng serve`.--\u003e\n\n## Further help\n\nTo get more help on the `angular-cli` use `ng help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSenseNet%2Fsn-angular2-redux-todo-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSenseNet%2Fsn-angular2-redux-todo-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSenseNet%2Fsn-angular2-redux-todo-app/lists"}