├── .eslintrc.json ├── .gitignore ├── README.md ├── next.config.mjs ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── next.svg └── vercel.svg ├── src ├── app │ ├── actions │ │ └── adActions.ts │ ├── ad │ │ └── [id] │ │ │ └── page.tsx │ ├── api │ │ ├── ads │ │ │ └── route.ts │ │ ├── auth │ │ │ └── [...nextauth] │ │ │ │ └── route.ts │ │ └── imagekit │ │ │ └── auth │ │ │ └── route.ts │ ├── edit │ │ └── [id] │ │ │ └── page.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── my-ads │ │ └── page.tsx │ ├── new │ │ └── page.tsx │ └── page.tsx ├── components │ ├── AdForm.tsx │ ├── AdItem.tsx │ ├── AdTextInputs.tsx │ ├── DeleteAdButton.tsx │ ├── DistancePicker.tsx │ ├── Gallery.tsx │ ├── Header.tsx │ ├── LabelRadioButton.tsx │ ├── LocationMap.tsx │ ├── LocationPicker.tsx │ ├── MyImage.tsx │ ├── SearchForm.tsx │ ├── SubmitButton.tsx │ ├── UploadArea.tsx │ ├── UploadThumbnail.tsx │ ├── UploadView.tsx │ └── Uploader.tsx ├── libs │ ├── authOptions.ts │ └── helpers.ts └── models │ └── Ad.ts ├── tailwind.config.ts └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/README.md -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/app/actions/adActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/actions/adActions.ts -------------------------------------------------------------------------------- /src/app/ad/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/ad/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/api/ads/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/api/ads/route.ts -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /src/app/api/imagekit/auth/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/api/imagekit/auth/route.ts -------------------------------------------------------------------------------- /src/app/edit/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/edit/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/my-ads/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/my-ads/page.tsx -------------------------------------------------------------------------------- /src/app/new/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/new/page.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/components/AdForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/AdForm.tsx -------------------------------------------------------------------------------- /src/components/AdItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/AdItem.tsx -------------------------------------------------------------------------------- /src/components/AdTextInputs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/AdTextInputs.tsx -------------------------------------------------------------------------------- /src/components/DeleteAdButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/DeleteAdButton.tsx -------------------------------------------------------------------------------- /src/components/DistancePicker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/DistancePicker.tsx -------------------------------------------------------------------------------- /src/components/Gallery.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/Gallery.tsx -------------------------------------------------------------------------------- /src/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/Header.tsx -------------------------------------------------------------------------------- /src/components/LabelRadioButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/LabelRadioButton.tsx -------------------------------------------------------------------------------- /src/components/LocationMap.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/LocationMap.tsx -------------------------------------------------------------------------------- /src/components/LocationPicker.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/LocationPicker.tsx -------------------------------------------------------------------------------- /src/components/MyImage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/MyImage.tsx -------------------------------------------------------------------------------- /src/components/SearchForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/SearchForm.tsx -------------------------------------------------------------------------------- /src/components/SubmitButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/SubmitButton.tsx -------------------------------------------------------------------------------- /src/components/UploadArea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/UploadArea.tsx -------------------------------------------------------------------------------- /src/components/UploadThumbnail.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/UploadThumbnail.tsx -------------------------------------------------------------------------------- /src/components/UploadView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/UploadView.tsx -------------------------------------------------------------------------------- /src/components/Uploader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/components/Uploader.tsx -------------------------------------------------------------------------------- /src/libs/authOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/libs/authOptions.ts -------------------------------------------------------------------------------- /src/libs/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/libs/helpers.ts -------------------------------------------------------------------------------- /src/models/Ad.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/src/models/Ad.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dejwid/marketplace/HEAD/tsconfig.json --------------------------------------------------------------------------------