├── .gitignore ├── README.md ├── app ├── (auth) │ ├── layout.tsx │ ├── sign-in │ │ └── [[...sign-in]] │ │ │ └── page.tsx │ └── sign-up │ │ └── [[...sign-up]] │ │ └── page.tsx ├── (root) │ ├── events │ │ ├── [id] │ │ │ ├── page.tsx │ │ │ └── update │ │ │ │ └── page.tsx │ │ └── create │ │ │ └── page.tsx │ ├── layout.tsx │ ├── orders │ │ └── page.tsx │ ├── page.tsx │ └── profile │ │ └── page.tsx ├── api │ ├── uploadthing │ │ ├── core.ts │ │ └── route.ts │ └── webhook │ │ ├── clerk │ │ └── route.ts │ │ └── stripe │ │ └── route.ts ├── favicon.ico ├── globals.css └── layout.tsx ├── components.json ├── components ├── shared │ ├── Card.tsx │ ├── CategoryFilter.tsx │ ├── Checkout.tsx │ ├── CheckoutButton.tsx │ ├── Collection.tsx │ ├── DeleteConfirmation.tsx │ ├── Dropdown.tsx │ ├── EventForm.tsx │ ├── FileUploader.tsx │ ├── Footer.tsx │ ├── Header.tsx │ ├── MobileNav.tsx │ ├── NavItems.tsx │ ├── Pagination.tsx │ └── Search.tsx └── ui │ ├── alert-dialog.tsx │ ├── button.tsx │ ├── checkbox.tsx │ ├── dropdown-menu.tsx │ ├── form.tsx │ ├── input.tsx │ ├── label.tsx │ ├── select.tsx │ ├── separator.tsx │ ├── sheet.tsx │ └── textarea.tsx ├── constants └── index.ts ├── lib ├── actions │ ├── category.actions.ts │ ├── event.actions.ts │ ├── order.actions.ts │ └── user.actions.ts ├── database │ ├── index.ts │ └── models │ │ ├── category.model.ts │ │ ├── event.model.ts │ │ ├── order.model.ts │ │ └── user.model.ts ├── uploadthing.ts ├── utils.ts └── validator.ts ├── middleware.ts ├── next.config.js ├── package.json ├── postcss.config.js ├── public ├── assets │ ├── icons │ │ ├── arrow.svg │ │ ├── calendar.svg │ │ ├── clock.svg │ │ ├── delete.svg │ │ ├── dollar.svg │ │ ├── edit.svg │ │ ├── file-upload.svg │ │ ├── link.svg │ │ ├── loader.svg │ │ ├── location-grey.svg │ │ ├── location.svg │ │ ├── logo-grey.svg │ │ ├── menu.svg │ │ ├── search.svg │ │ ├── spinner.svg │ │ └── upload.svg │ └── images │ │ ├── dotted-pattern.png │ │ ├── hero.png │ │ ├── logo.svg │ │ ├── placeholder.png │ │ ├── test-2.png │ │ └── test.png ├── next.svg └── vercel.svg ├── tailwind.config.ts ├── tsconfig.json └── types └── index.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/README.md -------------------------------------------------------------------------------- /app/(auth)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/(auth)/layout.tsx -------------------------------------------------------------------------------- /app/(auth)/sign-in/[[...sign-in]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/(auth)/sign-in/[[...sign-in]]/page.tsx -------------------------------------------------------------------------------- /app/(auth)/sign-up/[[...sign-up]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/(auth)/sign-up/[[...sign-up]]/page.tsx -------------------------------------------------------------------------------- /app/(root)/events/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/(root)/events/[id]/page.tsx -------------------------------------------------------------------------------- /app/(root)/events/[id]/update/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/(root)/events/[id]/update/page.tsx -------------------------------------------------------------------------------- /app/(root)/events/create/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/(root)/events/create/page.tsx -------------------------------------------------------------------------------- /app/(root)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/(root)/layout.tsx -------------------------------------------------------------------------------- /app/(root)/orders/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/(root)/orders/page.tsx -------------------------------------------------------------------------------- /app/(root)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/(root)/page.tsx -------------------------------------------------------------------------------- /app/(root)/profile/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/(root)/profile/page.tsx -------------------------------------------------------------------------------- /app/api/uploadthing/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/api/uploadthing/core.ts -------------------------------------------------------------------------------- /app/api/uploadthing/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/api/uploadthing/route.ts -------------------------------------------------------------------------------- /app/api/webhook/clerk/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/api/webhook/clerk/route.ts -------------------------------------------------------------------------------- /app/api/webhook/stripe/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/api/webhook/stripe/route.ts -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components.json -------------------------------------------------------------------------------- /components/shared/Card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/Card.tsx -------------------------------------------------------------------------------- /components/shared/CategoryFilter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/CategoryFilter.tsx -------------------------------------------------------------------------------- /components/shared/Checkout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/Checkout.tsx -------------------------------------------------------------------------------- /components/shared/CheckoutButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/CheckoutButton.tsx -------------------------------------------------------------------------------- /components/shared/Collection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/Collection.tsx -------------------------------------------------------------------------------- /components/shared/DeleteConfirmation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/DeleteConfirmation.tsx -------------------------------------------------------------------------------- /components/shared/Dropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/Dropdown.tsx -------------------------------------------------------------------------------- /components/shared/EventForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/EventForm.tsx -------------------------------------------------------------------------------- /components/shared/FileUploader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/FileUploader.tsx -------------------------------------------------------------------------------- /components/shared/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/Footer.tsx -------------------------------------------------------------------------------- /components/shared/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/Header.tsx -------------------------------------------------------------------------------- /components/shared/MobileNav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/MobileNav.tsx -------------------------------------------------------------------------------- /components/shared/NavItems.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/NavItems.tsx -------------------------------------------------------------------------------- /components/shared/Pagination.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/Pagination.tsx -------------------------------------------------------------------------------- /components/shared/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/shared/Search.tsx -------------------------------------------------------------------------------- /components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/ui/form.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/ui/label.tsx -------------------------------------------------------------------------------- /components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/ui/select.tsx -------------------------------------------------------------------------------- /components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/ui/separator.tsx -------------------------------------------------------------------------------- /components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/ui/sheet.tsx -------------------------------------------------------------------------------- /components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/components/ui/textarea.tsx -------------------------------------------------------------------------------- /constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/constants/index.ts -------------------------------------------------------------------------------- /lib/actions/category.actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/actions/category.actions.ts -------------------------------------------------------------------------------- /lib/actions/event.actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/actions/event.actions.ts -------------------------------------------------------------------------------- /lib/actions/order.actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/actions/order.actions.ts -------------------------------------------------------------------------------- /lib/actions/user.actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/actions/user.actions.ts -------------------------------------------------------------------------------- /lib/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/database/index.ts -------------------------------------------------------------------------------- /lib/database/models/category.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/database/models/category.model.ts -------------------------------------------------------------------------------- /lib/database/models/event.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/database/models/event.model.ts -------------------------------------------------------------------------------- /lib/database/models/order.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/database/models/order.model.ts -------------------------------------------------------------------------------- /lib/database/models/user.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/database/models/user.model.ts -------------------------------------------------------------------------------- /lib/uploadthing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/uploadthing.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /lib/validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/lib/validator.ts -------------------------------------------------------------------------------- /middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/middleware.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/assets/icons/arrow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/arrow.svg -------------------------------------------------------------------------------- /public/assets/icons/calendar.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/calendar.svg -------------------------------------------------------------------------------- /public/assets/icons/clock.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/clock.svg -------------------------------------------------------------------------------- /public/assets/icons/delete.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/delete.svg -------------------------------------------------------------------------------- /public/assets/icons/dollar.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/dollar.svg -------------------------------------------------------------------------------- /public/assets/icons/edit.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/edit.svg -------------------------------------------------------------------------------- /public/assets/icons/file-upload.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/file-upload.svg -------------------------------------------------------------------------------- /public/assets/icons/link.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/link.svg -------------------------------------------------------------------------------- /public/assets/icons/loader.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/loader.svg -------------------------------------------------------------------------------- /public/assets/icons/location-grey.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/location-grey.svg -------------------------------------------------------------------------------- /public/assets/icons/location.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/location.svg -------------------------------------------------------------------------------- /public/assets/icons/logo-grey.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/logo-grey.svg -------------------------------------------------------------------------------- /public/assets/icons/menu.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/menu.svg -------------------------------------------------------------------------------- /public/assets/icons/search.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/search.svg -------------------------------------------------------------------------------- /public/assets/icons/spinner.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/spinner.svg -------------------------------------------------------------------------------- /public/assets/icons/upload.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/icons/upload.svg -------------------------------------------------------------------------------- /public/assets/images/dotted-pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/images/dotted-pattern.png -------------------------------------------------------------------------------- /public/assets/images/hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/images/hero.png -------------------------------------------------------------------------------- /public/assets/images/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/images/logo.svg -------------------------------------------------------------------------------- /public/assets/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/images/placeholder.png -------------------------------------------------------------------------------- /public/assets/images/test-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/images/test-2.png -------------------------------------------------------------------------------- /public/assets/images/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/assets/images/test.png -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeWithUsman0/Event/HEAD/types/index.ts --------------------------------------------------------------------------------