├── .env ├── .eslintrc.json ├── .gitignore ├── .prettierrc ├── README.md ├── app ├── (dashboard) │ ├── layout.tsx │ └── todos │ │ ├── error.tsx │ │ ├── loading.tsx │ │ └── page.tsx ├── api │ └── todo │ │ ├── [id] │ │ └── route.ts │ │ └── route.ts ├── docs │ ├── [[...slug]] │ │ └── page.tsx │ └── layout.tsx ├── favicon.ico ├── globals.css ├── layout.tsx └── page.tsx ├── components ├── NewTodoForm.tsx ├── Todo.tsx └── TodoList.tsx ├── next.config.js ├── package.json ├── postcss.config.js ├── prisma ├── dev.db ├── migrations │ ├── 20230610165208_init │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── public ├── next.svg └── vercel.svg ├── tailwind.config.js ├── tsconfig.json └── utils ├── actions.ts ├── content.json └── db.ts /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/.env -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/README.md -------------------------------------------------------------------------------- /app/(dashboard)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/(dashboard)/layout.tsx -------------------------------------------------------------------------------- /app/(dashboard)/todos/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/(dashboard)/todos/error.tsx -------------------------------------------------------------------------------- /app/(dashboard)/todos/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/(dashboard)/todos/loading.tsx -------------------------------------------------------------------------------- /app/(dashboard)/todos/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/(dashboard)/todos/page.tsx -------------------------------------------------------------------------------- /app/api/todo/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/api/todo/[id]/route.ts -------------------------------------------------------------------------------- /app/api/todo/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/api/todo/route.ts -------------------------------------------------------------------------------- /app/docs/[[...slug]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/docs/[[...slug]]/page.tsx -------------------------------------------------------------------------------- /app/docs/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/docs/layout.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/app/page.tsx -------------------------------------------------------------------------------- /components/NewTodoForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/components/NewTodoForm.tsx -------------------------------------------------------------------------------- /components/Todo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/components/Todo.tsx -------------------------------------------------------------------------------- /components/TodoList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/components/TodoList.tsx -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prisma/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/prisma/dev.db -------------------------------------------------------------------------------- /prisma/migrations/20230610165208_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/prisma/migrations/20230610165208_init/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/tsconfig.json -------------------------------------------------------------------------------- /utils/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/utils/actions.ts -------------------------------------------------------------------------------- /utils/content.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/utils/content.json -------------------------------------------------------------------------------- /utils/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hendrixer/intro-nextjs-v3/HEAD/utils/db.ts --------------------------------------------------------------------------------