├── .gitignore ├── .vscode └── launch.json ├── README.md ├── server ├── .gitignore ├── .prettierrc ├── .vscode │ └── settings.json ├── README.md ├── db │ └── initdb.d │ │ └── init-users-db.sh ├── docker-compose.yml ├── nest-cli.json ├── nodemon-debug.json ├── nodemon.json ├── ormconfig.json ├── package.json ├── src │ ├── app.controller.spec.ts │ ├── app.controller.ts │ ├── app.module.ts │ ├── app.service.ts │ ├── auth │ │ ├── auth.controller.spec.ts │ │ ├── auth.controller.ts │ │ ├── auth.module.ts │ │ ├── auth.service.spec.ts │ │ ├── auth.service.ts │ │ ├── interfaces │ │ │ ├── login-status.interface.ts │ │ │ ├── payload.interface.ts │ │ │ └── regisration-status.interface.ts │ │ └── jwt.strategy.ts │ ├── core │ │ ├── core.module.ts │ │ └── http-exception.filter.ts │ ├── main.ts │ ├── migration │ │ ├── 1551865385236-InitialCreate.ts │ │ ├── 1552392671960-AddUpdatedOnFieldToTodoEntity.ts │ │ ├── 1555148302681-AddUser.ts │ │ ├── 1555166680617-AddOwnerFieldToTodoEntity.ts │ │ └── 1565812987671-SeedUserRecord.ts │ ├── mock │ │ └── todos.mock.ts │ ├── shared │ │ ├── mapper.ts │ │ └── utils.ts │ ├── todo │ │ ├── dto │ │ │ ├── task.create.dto.ts │ │ │ ├── task.dto.ts │ │ │ ├── task.list.dto.ts │ │ │ ├── todo.create.dto.ts │ │ │ ├── todo.dto.ts │ │ │ └── todo.list.dto.ts │ │ ├── entity │ │ │ ├── task.entity.ts │ │ │ └── todo.entity.ts │ │ ├── task │ │ │ ├── task.controller.spec.ts │ │ │ ├── task.controller.ts │ │ │ ├── task.service.spec.ts │ │ │ └── task.service.ts │ │ ├── todo.controller.spec.ts │ │ ├── todo.controller.ts │ │ ├── todo.module.ts │ │ ├── todo.service.spec.ts │ │ └── todo.service.ts │ └── users │ │ ├── dto │ │ ├── user-login.dto.ts │ │ ├── user.create.dto.ts │ │ └── user.dto.ts │ │ ├── entity │ │ └── user.entity.ts │ │ ├── users.module.ts │ │ ├── users.service.spec.ts │ │ └── users.service.ts ├── test │ ├── app.e2e-spec.ts │ └── jest-e2e.json ├── tsconfig.build.json ├── tsconfig.json ├── tslint.json └── yarn.lock └── todo-client ├── .editorconfig ├── .gitignore ├── README.md ├── angular.json ├── browserslist ├── e2e ├── protractor.conf.js ├── src │ ├── app.e2e-spec.ts │ └── app.po.ts └── tsconfig.json ├── karma.conf.js ├── package-lock.json ├── package.json ├── projects ├── app-common │ ├── README.md │ ├── karma.conf.js │ ├── ng-package.json │ ├── package.json │ ├── src │ │ ├── lib │ │ │ ├── action.ts │ │ │ └── app-common.module.ts │ │ ├── public-api.ts │ │ └── test.ts │ ├── tsconfig.lib.json │ ├── tsconfig.spec.json │ └── tslint.json ├── auth │ ├── README.md │ ├── karma.conf.js │ ├── ng-package.json │ ├── package.json │ ├── src │ │ ├── lib │ │ │ ├── auth.guard.ts │ │ │ ├── auth.module.ts │ │ │ ├── components │ │ │ │ └── login │ │ │ │ │ ├── login.component.css │ │ │ │ │ ├── login.component.html │ │ │ │ │ └── login.component.ts │ │ │ └── services │ │ │ │ ├── auth.service.ts │ │ │ │ ├── error.interceptor.ts │ │ │ │ └── jwt-interceptor.ts │ │ ├── public-api.ts │ │ └── test.ts │ ├── tsconfig.lib.json │ ├── tsconfig.spec.json │ └── tslint.json └── todo │ ├── README.md │ ├── karma.conf.js │ ├── ng-package.json │ ├── package.json │ ├── src │ ├── lib │ │ ├── components │ │ │ ├── task-create │ │ │ │ └── task-create.component.ts │ │ │ ├── task-list │ │ │ │ └── task-list.component.ts │ │ │ ├── task.component.ts │ │ │ ├── todo-create │ │ │ │ └── todo-create.component.ts │ │ │ ├── todo-list │ │ │ │ └── todo-list.component.ts │ │ │ └── todo.component.ts │ │ ├── models │ │ │ ├── task.model.ts │ │ │ └── todo.model.ts │ │ ├── services │ │ │ ├── task.service.ts │ │ │ └── todo.service.ts │ │ ├── todo-home.component.ts │ │ ├── todo.module.ts │ │ └── todo.service.spec.ts │ ├── public-api.ts │ └── test.ts │ ├── tsconfig.lib.json │ ├── tsconfig.spec.json │ └── tslint.json ├── proxy.conf.json ├── src ├── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.scss │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.module.ts │ └── shared │ │ ├── home │ │ └── home.component.ts │ │ └── master │ │ ├── master.component.html │ │ └── master.component.ts ├── assets │ └── .gitkeep ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── favicon.ico ├── index.html ├── main.ts ├── polyfills.ts ├── styles.scss └── test.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.spec.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Created by https://www.gitignore.io/api/node,windows,visualstudiocode 3 | # Edit at https://www.gitignore.io/?templates=node,windows,visualstudiocode 4 | 5 | ### Node ### 6 | # Logs 7 | logs 8 | *.log 9 | npm-debug.log* 10 | yarn-debug.log* 11 | yarn-error.log* 12 | 13 | # Runtime data 14 | pids 15 | *.pid 16 | *.seed 17 | *.pid.lock 18 | 19 | # Directory for instrumented libs generated by jscoverage/JSCover 20 | lib-cov 21 | 22 | # Coverage directory used by tools like istanbul 23 | coverage 24 | 25 | # nyc test coverage 26 | .nyc_output 27 | 28 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 29 | .grunt 30 | 31 | # Bower dependency directory (https://bower.io/) 32 | bower_components 33 | 34 | # node-waf configuration 35 | .lock-wscript 36 | 37 | # Compiled binary addons (https://nodejs.org/api/addons.html) 38 | build/Release 39 | 40 | # Dependency directories 41 | node_modules/ 42 | jspm_packages/ 43 | 44 | # TypeScript v1 declaration files 45 | typings/ 46 | 47 | # Optional npm cache directory 48 | .npm 49 | 50 | # Optional eslint cache 51 | .eslintcache 52 | 53 | # Optional REPL history 54 | .node_repl_history 55 | 56 | # Output of 'npm pack' 57 | *.tgz 58 | 59 | # Yarn Integrity file 60 | .yarn-integrity 61 | 62 | # dotenv environment variables file 63 | .env 64 | .env.test 65 | 66 | # parcel-bundler cache (https://parceljs.org/) 67 | .cache 68 | 69 | # next.js build output 70 | .next 71 | 72 | # nuxt.js build output 73 | .nuxt 74 | 75 | # vuepress build output 76 | .vuepress/dist 77 | 78 | # Serverless directories 79 | .serverless/ 80 | 81 | # FuseBox cache 82 | .fusebox/ 83 | 84 | # DynamoDB Local files 85 | .dynamodb/ 86 | 87 | ### VisualStudioCode ### 88 | .vscode/* 89 | !.vscode/settings.json 90 | !.vscode/tasks.json 91 | !.vscode/launch.json 92 | !.vscode/extensions.json 93 | 94 | ### VisualStudioCode Patch ### 95 | # Ignore all local history of files 96 | .history 97 | 98 | ### Windows ### 99 | # Windows thumbnail cache files 100 | Thumbs.db 101 | ehthumbs.db 102 | ehthumbs_vista.db 103 | 104 | # Dump file 105 | *.stackdump 106 | 107 | # Folder config file 108 | [Dd]esktop.ini 109 | 110 | # Recycle Bin used on file shares 111 | $RECYCLE.BIN/ 112 | 113 | # Windows Installer files 114 | *.cab 115 | *.msi 116 | *.msix 117 | *.msm 118 | *.msp 119 | 120 | # Windows shortcuts 121 | *.lnk 122 | 123 | # End of https://www.gitignore.io/api/node,windows,visualstudiocode 124 | 125 | dist/ 126 | 127 | .DS_Store -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "node", 9 | "request": "launch", 10 | "name": "Launch Program", 11 | "program": "${workspaceFolder}/server/src/auth/auth.module.ts", 12 | "outFiles": [ 13 | "${workspaceFolder}/**/*.js" 14 | ] 15 | } 16 | ] 17 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # nestjs-todo-app 2 | A full stack application written in Nest.js, Angular and PostgreSQL. 3 | -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .vscode/ 3 | .DS_Store 4 | node_modules/ 5 | build/ 6 | tmp/ 7 | temp/ -------------------------------------------------------------------------------- /server/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "all" 4 | } -------------------------------------------------------------------------------- /server/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "git.ignoreLimitWarning": true 3 | } -------------------------------------------------------------------------------- /server/README.md: -------------------------------------------------------------------------------- 1 |
4 | 5 | [travis-image]: https://api.travis-ci.org/nestjs/nest.svg?branch=master 6 | [travis-url]: https://travis-ci.org/nestjs/nest 7 | [linux-image]: https://img.shields.io/travis/nestjs/nest/master.svg?label=linux 8 | [linux-url]: https://travis-ci.org/nestjs/nest 9 | 10 |A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
No tasks yet!
Here you can manage your Todo Lists in a breeze!
11 |