├── .eslintrc.json ├── .gitignore ├── README.md ├── architecture.png ├── docker-compose.yml ├── next-env.d.ts ├── next.config.mjs ├── package.json ├── postcss.config.cjs ├── prettier.config.cjs ├── prisma ├── migrations │ ├── 20221006235929_init │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── public └── favicon.ico ├── src ├── components │ ├── Auth.tsx │ ├── Layout.tsx │ ├── TaskForm.tsx │ ├── TaskItem.tsx │ └── TaskList.tsx ├── env │ ├── client.mjs │ ├── schema.mjs │ └── server.mjs ├── hooks │ └── useMutateTask.ts ├── pages │ ├── _app.tsx │ ├── api │ │ ├── auth │ │ │ └── [...nextauth].ts │ │ └── trpc │ │ │ └── [trpc].ts │ ├── index.tsx │ └── task │ │ └── [taskId].tsx ├── schema │ └── todo.ts ├── server │ ├── common │ │ └── get-server-auth-session.ts │ ├── db │ │ └── client.ts │ └── trpc │ │ ├── context.ts │ │ ├── router │ │ ├── index.ts │ │ └── todo.ts │ │ └── trpc.ts ├── store │ └── index.ts ├── styles │ └── globals.css ├── types │ └── next-auth.d.ts └── utils │ └── trpc.ts ├── tailwind.config.cjs ├── tsconfig.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/README.md -------------------------------------------------------------------------------- /architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/architecture.png -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/postcss.config.cjs -------------------------------------------------------------------------------- /prettier.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/prettier.config.cjs -------------------------------------------------------------------------------- /prisma/migrations/20221006235929_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/prisma/migrations/20221006235929_init/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/components/Auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/components/Auth.tsx -------------------------------------------------------------------------------- /src/components/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/components/Layout.tsx -------------------------------------------------------------------------------- /src/components/TaskForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/components/TaskForm.tsx -------------------------------------------------------------------------------- /src/components/TaskItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/components/TaskItem.tsx -------------------------------------------------------------------------------- /src/components/TaskList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/components/TaskList.tsx -------------------------------------------------------------------------------- /src/env/client.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/env/client.mjs -------------------------------------------------------------------------------- /src/env/schema.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/env/schema.mjs -------------------------------------------------------------------------------- /src/env/server.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/env/server.mjs -------------------------------------------------------------------------------- /src/hooks/useMutateTask.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/hooks/useMutateTask.ts -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/api/auth/[...nextauth].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/pages/api/auth/[...nextauth].ts -------------------------------------------------------------------------------- /src/pages/api/trpc/[trpc].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/pages/api/trpc/[trpc].ts -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/task/[taskId].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/pages/task/[taskId].tsx -------------------------------------------------------------------------------- /src/schema/todo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/schema/todo.ts -------------------------------------------------------------------------------- /src/server/common/get-server-auth-session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/server/common/get-server-auth-session.ts -------------------------------------------------------------------------------- /src/server/db/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/server/db/client.ts -------------------------------------------------------------------------------- /src/server/trpc/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/server/trpc/context.ts -------------------------------------------------------------------------------- /src/server/trpc/router/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/server/trpc/router/index.ts -------------------------------------------------------------------------------- /src/server/trpc/router/todo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/server/trpc/router/todo.ts -------------------------------------------------------------------------------- /src/server/trpc/trpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/server/trpc/trpc.ts -------------------------------------------------------------------------------- /src/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/store/index.ts -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/types/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/types/next-auth.d.ts -------------------------------------------------------------------------------- /src/utils/trpc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/src/utils/trpc.ts -------------------------------------------------------------------------------- /tailwind.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/tailwind.config.cjs -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GomaGoma676/t3stack-todo-app/HEAD/yarn.lock --------------------------------------------------------------------------------