├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── .vscode └── settings.json ├── README.md ├── client ├── .eslintrc.json ├── .gitignore ├── .prettierrc ├── README.md ├── api │ └── index.ts ├── auth │ └── index.ts ├── context │ └── application │ │ └── index.tsx ├── features │ ├── my │ │ └── todos │ │ │ ├── [id] │ │ │ └── index.ts │ │ │ └── index.ts │ ├── signin │ │ └── index.ts │ └── signup │ │ └── index.ts ├── fixtures │ └── modules │ │ ├── signin │ │ └── index.ts │ │ └── signup │ │ └── index.ts ├── lib │ ├── delete-cookie │ │ └── index.ts │ ├── is-server │ │ └── index.ts │ ├── read-cookie │ │ └── index.ts │ └── use-header │ │ └── index.ts ├── mocks │ └── app │ │ └── token │ │ └── index.ts ├── modules │ ├── index │ │ └── authenticatedIndex.tsx │ ├── my │ │ └── todos │ │ │ └── [id] │ │ │ └── myTodosDetailMap.tsx │ ├── signin │ │ ├── signin-copyright.tsx │ │ └── signin-right-area.tsx │ └── signup │ │ └── signup-form.tsx ├── next-env.d.ts ├── next.config.js ├── package-lock.json ├── package.json ├── pages │ ├── .index.tsx.swp │ ├── _app.tsx │ ├── api │ │ └── hello.ts │ ├── index.tsx │ ├── my │ │ └── todos │ │ │ ├── [id] │ │ │ └── index.tsx │ │ │ └── index.tsx │ ├── signin │ │ └── index.tsx │ └── signup │ │ └── index.tsx ├── public │ ├── favicon.ico │ └── vercel.svg ├── schema │ └── pages │ │ ├── signin │ │ └── index.ts │ │ └── signup │ │ └── index.ts ├── styles │ └── globals.css ├── tsconfig.json ├── types │ ├── app │ │ └── token │ │ │ └── index.ts │ └── pages │ │ └── _app │ │ └── index.ts └── ui │ └── header │ └── index.tsx └── server ├── .env ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── lib ├── createGlobalPrefix │ └── index.ts ├── use-mongoose │ └── index.ts ├── use-random │ └── index.ts └── use-reverse │ └── index.ts ├── nest-cli.json ├── package.json ├── src ├── app.controller.spec.ts ├── app.controller.ts ├── app.module.ts ├── app.service.ts ├── auth │ ├── auth.module.ts │ ├── controller │ │ └── auth.controller.ts │ ├── dto │ │ └── auth.dto.ts │ ├── model │ │ └── auth.model.ts │ ├── service │ │ └── auth.service.ts │ └── strategy │ │ └── jwt.strategy.ts ├── decorators │ └── roles.decorator.ts ├── guards │ ├── role.enum.ts │ └── role.guard.ts ├── main.ts └── modules │ ├── register │ ├── controller │ │ └── register.controller.ts │ ├── dto │ │ └── register.dto.ts │ ├── register.module.ts │ └── service │ │ └── register.service.ts │ └── todo │ ├── controller │ └── todo.controller.ts │ ├── dto │ └── todo.dto.ts │ ├── model │ └── todo.model.ts │ ├── service │ └── todo.service.ts │ └── todo.module.ts ├── test ├── app.e2e-spec.ts └── jest-e2e.json ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/README.md -------------------------------------------------------------------------------- /client/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/.gitignore -------------------------------------------------------------------------------- /client/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/.prettierrc -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/README.md -------------------------------------------------------------------------------- /client/api/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/api/index.ts -------------------------------------------------------------------------------- /client/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/auth/index.ts -------------------------------------------------------------------------------- /client/context/application/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/context/application/index.tsx -------------------------------------------------------------------------------- /client/features/my/todos/[id]/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/features/my/todos/[id]/index.ts -------------------------------------------------------------------------------- /client/features/my/todos/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/features/my/todos/index.ts -------------------------------------------------------------------------------- /client/features/signin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/features/signin/index.ts -------------------------------------------------------------------------------- /client/features/signup/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/features/signup/index.ts -------------------------------------------------------------------------------- /client/fixtures/modules/signin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/fixtures/modules/signin/index.ts -------------------------------------------------------------------------------- /client/fixtures/modules/signup/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/fixtures/modules/signup/index.ts -------------------------------------------------------------------------------- /client/lib/delete-cookie/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/lib/delete-cookie/index.ts -------------------------------------------------------------------------------- /client/lib/is-server/index.ts: -------------------------------------------------------------------------------- 1 | export const isServer = typeof window === 'undefined'; 2 | -------------------------------------------------------------------------------- /client/lib/read-cookie/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/lib/read-cookie/index.ts -------------------------------------------------------------------------------- /client/lib/use-header/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/lib/use-header/index.ts -------------------------------------------------------------------------------- /client/mocks/app/token/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/mocks/app/token/index.ts -------------------------------------------------------------------------------- /client/modules/index/authenticatedIndex.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/modules/index/authenticatedIndex.tsx -------------------------------------------------------------------------------- /client/modules/my/todos/[id]/myTodosDetailMap.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/modules/my/todos/[id]/myTodosDetailMap.tsx -------------------------------------------------------------------------------- /client/modules/signin/signin-copyright.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/modules/signin/signin-copyright.tsx -------------------------------------------------------------------------------- /client/modules/signin/signin-right-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/modules/signin/signin-right-area.tsx -------------------------------------------------------------------------------- /client/modules/signup/signup-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/modules/signup/signup-form.tsx -------------------------------------------------------------------------------- /client/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/next-env.d.ts -------------------------------------------------------------------------------- /client/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/next.config.js -------------------------------------------------------------------------------- /client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/package-lock.json -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/package.json -------------------------------------------------------------------------------- /client/pages/.index.tsx.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/pages/.index.tsx.swp -------------------------------------------------------------------------------- /client/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/pages/_app.tsx -------------------------------------------------------------------------------- /client/pages/api/hello.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/pages/api/hello.ts -------------------------------------------------------------------------------- /client/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/pages/index.tsx -------------------------------------------------------------------------------- /client/pages/my/todos/[id]/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/pages/my/todos/[id]/index.tsx -------------------------------------------------------------------------------- /client/pages/my/todos/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/pages/my/todos/index.tsx -------------------------------------------------------------------------------- /client/pages/signin/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/pages/signin/index.tsx -------------------------------------------------------------------------------- /client/pages/signup/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/pages/signup/index.tsx -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/public/vercel.svg -------------------------------------------------------------------------------- /client/schema/pages/signin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/schema/pages/signin/index.ts -------------------------------------------------------------------------------- /client/schema/pages/signup/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/schema/pages/signup/index.ts -------------------------------------------------------------------------------- /client/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/styles/globals.css -------------------------------------------------------------------------------- /client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/tsconfig.json -------------------------------------------------------------------------------- /client/types/app/token/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/types/app/token/index.ts -------------------------------------------------------------------------------- /client/types/pages/_app/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/types/pages/_app/index.ts -------------------------------------------------------------------------------- /client/ui/header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/client/ui/header/index.tsx -------------------------------------------------------------------------------- /server/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/.env -------------------------------------------------------------------------------- /server/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/.eslintrc.js -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/.gitignore -------------------------------------------------------------------------------- /server/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/.prettierrc -------------------------------------------------------------------------------- /server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/README.md -------------------------------------------------------------------------------- /server/lib/createGlobalPrefix/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/lib/createGlobalPrefix/index.ts -------------------------------------------------------------------------------- /server/lib/use-mongoose/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/lib/use-mongoose/index.ts -------------------------------------------------------------------------------- /server/lib/use-random/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/lib/use-random/index.ts -------------------------------------------------------------------------------- /server/lib/use-reverse/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/lib/use-reverse/index.ts -------------------------------------------------------------------------------- /server/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/nest-cli.json -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/package.json -------------------------------------------------------------------------------- /server/src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/app.controller.spec.ts -------------------------------------------------------------------------------- /server/src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/app.controller.ts -------------------------------------------------------------------------------- /server/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/app.module.ts -------------------------------------------------------------------------------- /server/src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/app.service.ts -------------------------------------------------------------------------------- /server/src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/auth/auth.module.ts -------------------------------------------------------------------------------- /server/src/auth/controller/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/auth/controller/auth.controller.ts -------------------------------------------------------------------------------- /server/src/auth/dto/auth.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/auth/dto/auth.dto.ts -------------------------------------------------------------------------------- /server/src/auth/model/auth.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/auth/model/auth.model.ts -------------------------------------------------------------------------------- /server/src/auth/service/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/auth/service/auth.service.ts -------------------------------------------------------------------------------- /server/src/auth/strategy/jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/auth/strategy/jwt.strategy.ts -------------------------------------------------------------------------------- /server/src/decorators/roles.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/decorators/roles.decorator.ts -------------------------------------------------------------------------------- /server/src/guards/role.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/guards/role.enum.ts -------------------------------------------------------------------------------- /server/src/guards/role.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/guards/role.guard.ts -------------------------------------------------------------------------------- /server/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/main.ts -------------------------------------------------------------------------------- /server/src/modules/register/controller/register.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/modules/register/controller/register.controller.ts -------------------------------------------------------------------------------- /server/src/modules/register/dto/register.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/modules/register/dto/register.dto.ts -------------------------------------------------------------------------------- /server/src/modules/register/register.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/modules/register/register.module.ts -------------------------------------------------------------------------------- /server/src/modules/register/service/register.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/modules/register/service/register.service.ts -------------------------------------------------------------------------------- /server/src/modules/todo/controller/todo.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/modules/todo/controller/todo.controller.ts -------------------------------------------------------------------------------- /server/src/modules/todo/dto/todo.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/modules/todo/dto/todo.dto.ts -------------------------------------------------------------------------------- /server/src/modules/todo/model/todo.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/modules/todo/model/todo.model.ts -------------------------------------------------------------------------------- /server/src/modules/todo/service/todo.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/modules/todo/service/todo.service.ts -------------------------------------------------------------------------------- /server/src/modules/todo/todo.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/src/modules/todo/todo.module.ts -------------------------------------------------------------------------------- /server/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /server/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/test/jest-e2e.json -------------------------------------------------------------------------------- /server/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/tsconfig.build.json -------------------------------------------------------------------------------- /server/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/tsconfig.json -------------------------------------------------------------------------------- /server/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncfinkd/todo/HEAD/server/yarn.lock --------------------------------------------------------------------------------