├── .eslintrc.json ├── .gitignore ├── .vscode └── settings.json ├── README.md ├── components.json ├── next.config.ts ├── package.json ├── pnpm-lock.yaml ├── postcss.config.mjs ├── prisma ├── dev.db ├── migrations │ ├── 20241205235453_init_schema │ │ └── migration.sql │ ├── 20241206084304_add_image_description_to_trip_table │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── public ├── file.svg ├── globe.svg ├── next.svg ├── vercel.svg └── window.svg ├── src ├── app │ ├── (auth) │ │ ├── _actions │ │ │ ├── login.ts │ │ │ ├── logout.ts │ │ │ └── signup.ts │ │ ├── _components │ │ │ └── submit-button.tsx │ │ ├── login │ │ │ └── page.tsx │ │ └── signup │ │ │ └── page.tsx │ ├── api │ │ └── trip │ │ │ └── route.ts │ ├── favicon.ico │ ├── fonts │ │ ├── GeistMonoVF.woff │ │ └── GeistVF.woff │ ├── globals.css │ ├── layout.tsx │ ├── page.tsx │ ├── talk │ │ └── page.tsx │ └── travel │ │ ├── _components │ │ └── navigation.tsx │ │ ├── page.tsx │ │ └── trip │ │ ├── [id] │ │ └── page.tsx │ │ ├── _actions │ │ ├── create-trip.ts │ │ └── delete-trip.ts │ │ └── create │ │ └── page.tsx ├── components │ └── ui │ │ ├── button.tsx │ │ ├── card.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── radio-group.tsx │ │ ├── tabs.tsx │ │ └── textarea.tsx ├── lib │ ├── get-current-user.ts │ ├── prisma.ts │ └── utils.ts └── pages │ ├── _app.tsx │ └── old-travel │ ├── _components │ └── navigation.tsx │ ├── index.tsx │ └── trip │ ├── [id].tsx │ ├── _actions │ └── create-trip.ts │ └── create.tsx ├── tailwind.config.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/components.json -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/next.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /prisma/dev.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/prisma/dev.db -------------------------------------------------------------------------------- /prisma/migrations/20241205235453_init_schema/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/prisma/migrations/20241205235453_init_schema/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20241206084304_add_image_description_to_trip_table/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/prisma/migrations/20241206084304_add_image_description_to_trip_table/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/public/file.svg -------------------------------------------------------------------------------- /public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/public/globe.svg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/public/window.svg -------------------------------------------------------------------------------- /src/app/(auth)/_actions/login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/(auth)/_actions/login.ts -------------------------------------------------------------------------------- /src/app/(auth)/_actions/logout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/(auth)/_actions/logout.ts -------------------------------------------------------------------------------- /src/app/(auth)/_actions/signup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/(auth)/_actions/signup.ts -------------------------------------------------------------------------------- /src/app/(auth)/_components/submit-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/(auth)/_components/submit-button.tsx -------------------------------------------------------------------------------- /src/app/(auth)/login/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/(auth)/login/page.tsx -------------------------------------------------------------------------------- /src/app/(auth)/signup/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/(auth)/signup/page.tsx -------------------------------------------------------------------------------- /src/app/api/trip/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/api/trip/route.ts -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/fonts/GeistMonoVF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/fonts/GeistMonoVF.woff -------------------------------------------------------------------------------- /src/app/fonts/GeistVF.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/fonts/GeistVF.woff -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/talk/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/talk/page.tsx -------------------------------------------------------------------------------- /src/app/travel/_components/navigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/travel/_components/navigation.tsx -------------------------------------------------------------------------------- /src/app/travel/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/travel/page.tsx -------------------------------------------------------------------------------- /src/app/travel/trip/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/travel/trip/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/travel/trip/_actions/create-trip.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/travel/trip/_actions/create-trip.ts -------------------------------------------------------------------------------- /src/app/travel/trip/_actions/delete-trip.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/travel/trip/_actions/delete-trip.ts -------------------------------------------------------------------------------- /src/app/travel/trip/create/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/app/travel/trip/create/page.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/components/ui/card.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/radio-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/components/ui/radio-group.tsx -------------------------------------------------------------------------------- /src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/lib/get-current-user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/lib/get-current-user.ts -------------------------------------------------------------------------------- /src/lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/lib/prisma.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/old-travel/_components/navigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/pages/old-travel/_components/navigation.tsx -------------------------------------------------------------------------------- /src/pages/old-travel/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/pages/old-travel/index.tsx -------------------------------------------------------------------------------- /src/pages/old-travel/trip/[id].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/pages/old-travel/trip/[id].tsx -------------------------------------------------------------------------------- /src/pages/old-travel/trip/_actions/create-trip.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/pages/old-travel/trip/_actions/create-trip.ts -------------------------------------------------------------------------------- /src/pages/old-travel/trip/create.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/src/pages/old-travel/trip/create.tsx -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smakosh/1337-next.js-2024/HEAD/tsconfig.json --------------------------------------------------------------------------------