πŸ“‹ Table of Contents πŸ€– Introduction βš™οΈ Tech Stack πŸ”‹ Features 🀸 Quick Start πŸ•ΈοΈ Snippets πŸ”— Links


πŸ€– Introduction Built on Next.js 14, the events application stands as a comprehensive, full-stack platform for managing events. It serves as a hub, spotlighting diverse events taking place globally. Featuring seamless payment processing through Stripe, you have the capability to purchase tickets for any event or even initiate and manage your own events.


βš™οΈ Tech Stack --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Node.js Next.js TypeScript TailwindCSS Stripe Zod React Hook Form Shadcn uploadthing

πŸ”‹ Features ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

πŸ‘‰ Authentication (CRUD) with Clerk: User management through Clerk, ensuring secure and efficient authentication.

πŸ‘‰ Events (CRUD): Comprehensive functionality for creating, reading, updating, and deleting events, giving users full control over event management.

  • Create Events: Users can effortlessly generate new events, providing essential details such as title, date, location, and any additional information.
  • Read Events: Seamless access to a detailed view of all events, allowing users to explore event specifics, including descriptions, schedules, and related information.
  • Update Events: Empowering users to modify event details dynamically, ensuring that event information remains accurate and up-to-date.
  • Delete Events: A straightforward process for removing events from the system, giving administrators the ability to manage and curate the platform effectively.

πŸ‘‰ Related Events: Smartly connects events that are related and displaying on the event details page, making it more engaging for users

πŸ‘‰ Organized Events: Efficient organization of events, ensuring a structured and user-friendly display for the audience, i.e., showing events created by the user on the user profile

πŸ‘‰ Search & Filter: Empowering users with a robust search and filter system, enabling them to easily find the events that match their preferences.

πŸ‘‰ New Category: Dynamic categorization allows for the seamless addition of new event categories, keeping your platform adaptable.

πŸ‘‰ Checkout and Pay with Stripe: Smooth and secure payment transactions using Stripe, enhancing user experience during the checkout process.

πŸ‘‰ Event Orders: Comprehensive order management system, providing a clear overview of all event-related transactions.

πŸ‘‰ Search Orders: Quick and efficient search functionality for orders, facilitating easy tracking and management.

and many more, including code architecture and reusability


🀸 Quick Start!

Follow these steps to set up the project locally on your machine.

Prerequisites

Make sure you have the following installed on your machine:

  • Git
  • Node.js
  • npm (Node Package Manager)
  • Cloning the Repository

git clone https://github.com/your-username/your-project.git

  • cd your-project
  • Installation

Install the project dependencies using npm:

  • npm install Set Up Environment Variables

Create a new file named .env in the root of your project and add the following content:

#NEXT NEXT_PUBLIC_SERVER_URL=

#CLERK NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= CLERK_SECRET_KEY= NEXT_CLERK_WEBHOOK_SECRET=

NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/ NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/

#MONGODB MONGODB_URI=

#UPLOADTHING UPLOADTHING_SECRET= UPLOADTHING_APP_ID=

#STRIPE STRIPE_SECRET_KEY= STRIPE_WEBHOOK_SECRET= NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY= Replace the placeholder values with your actual credentials

Running the Project


πŸ•ΈοΈ Snippets

globals.css tailwind.config.ts Clerk webhook user.actions.ts order.model.ts FileUploader.tsx DeleteConfirmation.tsx event.action.ts order.action.ts orders/page.tsx


Sign Up Now | Explore Events | Join Me!