├── .gitignore ├── README.md ├── babel.config.js ├── docs ├── css │ └── app.c8eea07c.css ├── favicon.ico ├── index.html └── js │ ├── app.6d244c97.js │ ├── app.6d244c97.js.map │ ├── chunk-vendors.b4e23434.js │ └── chunk-vendors.b4e23434.js.map ├── package.json ├── public ├── favicon.ico └── index.html ├── src ├── App.vue ├── assets │ └── logo.png ├── components │ ├── Flash.vue │ └── Todo.vue ├── domain │ └── task │ │ ├── index.ts │ │ ├── reducers.ts │ │ ├── types.ts │ │ └── utils.ts ├── interfaces │ └── repository │ │ └── index.ts ├── main.ts ├── repositories │ └── index.ts ├── services │ └── TaskService.ts ├── shims-vue.d.ts └── store │ ├── index.ts │ └── modules │ ├── flash.ts │ └── task.ts ├── tests └── unit │ ├── .eslintrc.js │ └── example.spec.ts ├── tsconfig.json ├── vue.config.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | # local env files 6 | .env.local 7 | .env.*.local 8 | 9 | # Log files 10 | npm-debug.log* 11 | yarn-debug.log* 12 | yarn-error.log* 13 | 14 | # Editor directories and files 15 | .idea 16 | .vscode 17 | *.suo 18 | *.ntvs* 19 | *.njsproj 20 | *.sln 21 | *.sw? 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # clean-todo 2 | 3 | ## Layer 4 | 5 | ### Entities 6 | データと振る舞い 7 | * Task 8 | 9 | ### UseCases 10 | EntitiesのビジネスロジックやRepositoryやAPIのInterfaceを組み合わせてアプリケーションロジックを組む 11 | * Interactors 12 | 13 | ### Interface Adapter 14 | 外界(infra、UI、Storageなど)とのinterface 15 | * Store 16 | * Repository 17 | * Vue Components 18 | 19 | ## Project setup 20 | ``` 21 | yarn install 22 | ``` 23 | 24 | ### Compiles and hot-reloads for development 25 | ``` 26 | yarn run serve 27 | ``` 28 | 29 | ### Compiles and minifies for production 30 | ``` 31 | yarn run build 32 | ``` 33 | 34 | ### Run your tests 35 | ``` 36 | yarn run test 37 | ``` 38 | 39 | ### Lints and fixes files 40 | ``` 41 | yarn run lint 42 | ``` 43 | 44 | ### Run your unit tests 45 | ``` 46 | yarn run test:unit 47 | ``` 48 | 49 | ### Customize configuration 50 | See [Configuration Reference](https://cli.vuejs.org/config/). 51 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['@vue/app'] 3 | } 4 | -------------------------------------------------------------------------------- /docs/css/app.c8eea07c.css: -------------------------------------------------------------------------------- 1 | .strike[data-v-235926c5]{text-decoration:line-through}ul[data-v-235926c5]{list-style:none}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;margin-top:60px} -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/92thunder/clean-architecture-todo/4353659364f6514c6c91ce3aea861aeff02de60e/docs/favicon.ico -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 |