Welcome to the Full Stack Next.js 14 Events App repository. This application is built using Next.js, leveraging server actions for efficient backend processing within the same framework used for the frontend. It utilizes MongoDB with Prisma as the ORM, allowing for seamless data handling and complex queries with ease. The app integrates Stripe for secure payment processing 💳 and uses TypeScript and Tailwind CSS for a type-safe, responsive design. Authentication is managed with Clerk 🔐, and file uploads are handled through uploadthing.
- Event creation and management 🎉.
- User authentication and authorization with Clerk 🔑.
- Secure payment processing with Stripe 💰.
- Responsive design using Tailwind CSS 🎨.
- Type-safe codebase with TypeScript ✅.
- File management with Uploadthing 📁.
Before you begin, ensure you have the following:
To install the Full Stack Next.js 14 MERN Events App, follow these steps:
- Clone the repository:
git clone git@github.com:jmoliugp/evently.git
- Install dependencies with Yarn:
yarn install
Create a .env
file in the root directory with the following contents:
# Clerk
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=/
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="MY_CLERK_PUBLIC_KEY"
CLERK_SECRET_KEY="MY_CLERK_SECRET_KEY"
# DB
DATABASE_URL=MY_MONGODB_URL
# UploadThing
UPLOADTHING_SECRET=MY_UPLOADTHING_SECRET
UPLOADTHING_APP_ID=MY_UPLOADTHING_ID
Replace MY_CLERK_PUBLIC_KEY
, MY_CLERK_SECRET_KEY
, MY_MONGODB_URL
, MY_UPLOADTHING_SECRET
, and MY_UPLOADTHING_ID
with your actual credentials.
To run the application, use the following command:
yarn dev
This will start the development server on http://localhost:3000
.
Contributions are welcomed and greatly appreciated. To contribute:
- Fork the Project 🍴
- Create your Feature Branch (
git checkout -b feature/<feature>
) - Commit your Changes (
git commit -m 'Add some <feature>'
) - Push to the Branch (
git push origin feature/<feature>
) - Open a Pull Request 📬
Distributed under the MIT License. See LICENSE
for more information.